/* ============================================
   COMPONENT-SPECIFIC STYLES
   ============================================ */

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 135, 156, 0);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(13, 135, 156, 0);
    box-shadow: var(--shadow-lg);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 0.125rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--brushed-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--brushed-gold);
    transition: all var(--transition-base);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--slate-gray-light);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brushed-gold);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--white);
}

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

/* Gold-bordered Visualize link */
.nav-link-gold {
    border: 2px solid var(--brushed-gold);
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-sm);
    color: var(--brushed-gold);
    font-weight: 600;
    transition: all var(--transition-base);
}

.nav-link-gold::after {
    display: none;
}

.nav-link-gold:hover {
    background: var(--gradient-gold);
    color: var(--navy-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero-title img {
    transform: translateX(30px);
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 4px 24px rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-gray-light);
    font-size: 0.875rem;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* === PILLAR CARDS === */
.pillar-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.pillar-icon.gold {
    background: var(--gradient-gold);
    color: var(--navy-blue-dark);
}

.pillar-title {
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.pillar-description {
    color: var(--slate-gray-light);
    line-height: 1.8;
}

/* === CABINET SECTION === */
.cabinet-section {
    background: linear-gradient(180deg, var(--navy-blue-dark) 0%, var(--navy-blue) 100%);
}

.cabinet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.cabinet-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cabinet-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--gradient-gold);
    color: var(--navy-blue-dark);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-gold);
}

.badge-icon {
    font-size: 1.25rem;
}

.cabinet-title {
    margin-bottom: var(--spacing-sm);
}

.cabinet-subtitle {
    font-size: 1.25rem;
    color: var(--slate-gray-light);
    margin-bottom: var(--spacing-lg);
}

.cabinet-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-gold);
    border-radius: 50%;
    color: var(--navy-blue-dark);
}

.feature-text h4,
.feature-text .feature-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.feature-text p {
    color: var(--white);
    font-size: 1.0625rem;
    line-height: 1.8;
    font-weight: 600;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 6px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.3);
}

/* === SLIDESHOW CONTAINER === */
.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.8s ease-in-out;
}

.service-slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide Navigation Buttons */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    color: var(--white);
}

.slide-nav:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--brushed-gold);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
    left: 1rem;
}

.slide-nav.next {
    right: 1rem;
}

/* Slide Indicators */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--spacing-lg);
    padding: 1rem 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.indicator:hover {
    background: rgba(212, 175, 55, 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--brushed-gold);
    border-color: var(--brushed-gold);
    width: 40px;
    border-radius: 6px;
}


/* === COMPARISON TABLE === */
.comparison-section {
    background: var(--navy-blue);
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: var(--spacing-md);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.0625rem;
}

.comparison-table thead {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.comparison-table th {
    padding: 1.75rem 1.25rem;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--dark-text);
    border-bottom: 3px solid rgba(212, 175, 55, 0.5);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
}

.comparison-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.25);
}

.feature-name {
    font-weight: 800;
    color: var(--dark-text);
    font-size: 1.0625rem;
}

.highlight-column {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(255, 255, 255, 0.4) 100%) !important;
    border-left: 3px solid var(--brushed-gold);
    border-right: 3px solid var(--brushed-gold);
}

.highlight-column th {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(255, 255, 255, 0.3) 100%);
    color: var(--dark-text);
    font-weight: 900;
}

.gold-badge {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.25rem;
    font-weight: 900;
}

/* === GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.gallery-overlay p {
    color: var(--brushed-gold);
    font-size: 0.875rem;
}

/* === SERVICE AREAS === */
.area-card {
    text-align: center;
    padding: var(--spacing-md);
}

.area-county {
    color: var(--brushed-gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.area-cities {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.area-cities li {
    color: var(--slate-gray-light);
    font-size: 1rem;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.4);
    font-weight: 600;
    color: var(--white);
}

/* === TESTIMONIALS === */
.testimonial-card {
    padding: var(--spacing-lg);
    text-align: center;
}

.testimonial-stars {
    color: var(--brushed-gold);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-weight: 600;
    text-shadow:
        1px 1px 0px rgba(0, 0, 0, 0.8),
        2px 2px 0px rgba(0, 0, 0, 0.6),
        3px 3px 0px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 255, 255, 0.3);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--white);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--brushed-gold);
    font-size: 0.875rem;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

/* === CONSULTATION === */
.consultation-section {
    background: linear-gradient(135deg, var(--navy-blue-dark) 0%, var(--navy-blue) 100%);
}

.consultation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.consultation-title {
    margin-bottom: var(--spacing-sm);
}

.consultation-subtitle {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    text-shadow:
        1px 1px 0px rgba(0, 0, 0, 0.8),
        2px 2px 0px rgba(0, 0, 0, 0.6),
        3px 3px 0px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 255, 255, 0.3);
}

.consultation-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-shadow:
        1px 1px 0px rgba(0, 0, 0, 0.8),
        2px 2px 0px rgba(0, 0, 0, 0.6),
        3px 3px 0px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 255, 255, 0.3);
}

.benefit-item svg {
    color: var(--brushed-gold);
    flex-shrink: 0;
}

.consultation-form {
    padding: var(--spacing-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--brushed-gold-light) !important;
    font-family: var(--font-body);
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    transition: all var(--transition-base);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(230, 201, 104, 1.0) !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brushed-gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    color: var(--brushed-gold-light) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.form-group select option {
    background: rgba(0, 0, 0, 0.4);
    color: var(--brushed-gold-light);
    padding: 0.75rem;
    font-weight: 700;
}

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

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-privacy {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-gray);
    margin-top: 1rem;
}

/* === FOOTER === */
.footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 2px solid rgba(212, 175, 55, 0.3);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.footer-tagline {
    color: var(--brushed-gold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.footer-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 600;
}

.footer-links h4,
.footer-contact h4,
.footer-links .footer-section-title,
.footer-contact .footer-section-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.footer-links a:hover {
    color: var(--brushed-gold);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 600;
}

.footer-contact strong {
    color: var(--white);
    font-weight: 800;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0;
    font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {

    .cabinet-grid,
    .consultation-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .cabinet-content {
        padding: 0 6rem;
        position: relative;
        text-align: center;
    }

    .cabinet-content .btn {
        display: flex;
        width: fit-content;
        margin: var(--spacing-md) auto 0;
    }

    .feature-item {
        position: relative;
        width: fit-content;
        margin: 0 auto var(--spacing-sm);
        padding-left: 0;
    }

    .feature-icon {
        position: absolute;
        left: -3rem;
        top: 0;
    }

    .feature-text {
        text-align: center;
    }

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

    /* Tablet optimizations */
    .pillar-card,
    .area-card,
    .testimonial-card {
        padding: var(--spacing-md);
    }

    .comparison-table {
        font-size: 0.9375rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 27, 42, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 2px solid rgba(212, 175, 55, 0.3);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.125rem;
        color: var(--white);
        font-weight: 700;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
    }

    /* Mobile hero adjustments */
    .hero {
        padding-top: 100px;
        min-height: 90vh;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }

    .comparison-table th {
        font-size: 1rem;
    }

    /* Mobile glass cards */
    .glass-card {
        padding: var(--spacing-sm);
    }

    /* Mobile section spacing */
    .section {
        padding: var(--spacing-lg) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-md);
    }

    /* Mobile pillar cards */
    .pillar-card {
        padding: var(--spacing-md);
    }

    .pillar-icon {
        width: 60px;
        height: 60px;
    }

    /* Mobile cabinet section */
    .cabinet-features {
        gap: var(--spacing-sm);
    }

    /* Mobile service areas */
    .area-card {
        padding: var(--spacing-sm);
    }

    /* Mobile testimonials */
    .testimonial-card {
        padding: var(--spacing-md);
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* Mobile consultation form */
    .consultation-form {
        padding: var(--spacing-md);
    }

    /* Mobile footer */
    .footer {
        padding: var(--spacing-lg) 0 var(--spacing-sm);
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    /* Hero logo image tablet */
    .hero-title img {
        max-width: 280px;
        height: auto;
        display: block;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .pillar-card,
    .testimonial-card {
        padding: var(--spacing-sm);
    }

    .consultation-form {
        padding: var(--spacing-sm);
    }

    /* Extra small mobile adjustments */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .pillar-icon {
        width: 50px;
        height: 50px;
    }

    .comparison-table-wrapper {
        padding: var(--spacing-sm);
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }

    .feature-name {
        font-size: 0.9375rem;
    }

    /* Touch-friendly spacing */
    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
    }

    /* Hero logo image mobile */
    .hero-title img {
        max-width: 200px;
        height: auto;
        display: block;
        margin: 0 auto 1rem;
        transform: translateX(15px);
    }

    /* Mobile slideshow adjustments */
    .cabinet-content {
        padding: 0 5rem;
    }

    .slide-nav {
        width: 48px;
        height: 48px;
    }

    .slide-nav.prev {
        left: 0.5rem;
    }

    .slide-nav.next {
        right: 0.5rem;
    }

    .slide-indicators {
        gap: 0.75rem;
        margin-top: var(--spacing-md);
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 30px;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-content {
        padding: 1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover effects on touch devices */
    .tilt-card:hover,
    .perspective-card:hover {
        transform: none;
    }

    /* Larger touch targets */
    .btn {
        min-height: 48px;
    }

    .nav-link {
        padding: 0.75rem 0;
    }

    /* Disable parallax on touch devices for performance */
    .section-bg.parallax::before {
        transform: none !important;
    }
}