/* 
 * NUNEXX Climatização - Main Stylesheet
 * Modular CSS Architecture with @import system
 */

/* Base Styles - Core system variables and resets */
@import url('base/variables.css');
@import url('base/reset.css');
@import url('base/typography.css');

/* Layout Styles - Structural components */
@import url('layout/header.css');
@import url('layout/main.css');

/* Component Styles - Reusable UI elements */
@import url('components/buttons.css');
@import url('components/cards.css');
@import url('components/forms.css');
@import url('components/modals.css');


/* Contact Form */
.contact-form {
    padding: 5rem 0;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

/* Statistics */
.statistics {
    padding: 5rem 0;
    background: #f8f9fa;
}

/* Diferentials */
.diferentials {
    padding: 5rem 0;
    background: white;
}

/* Google Reviews */
.google-reviews {
    padding: 5rem 0;
    background: #f8f9fa;
}

/* Brands */
.brands {
    padding: 5rem 0;
    background: white;
}

/* Legacy styles - keeping for compatibility but variables moved to base/variables.css */

/* Base styles moved to base/reset.css and base/typography.css */

/* Garantir que todos os elementos nao causem overflow */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Prevenir overflow em todos os containers */
.container, .container-fluid, .row, [class*="col-"] {
    max-width: 100%;
    overflow-x: hidden;
}

/* Garantir que imagens nao causem overflow */
img {
    max-width: 100%;
    height: auto;
}

/* CRITICO: Remover todas as scrollbars desnecessarias */
.service-card, .service-card *, 
.testimonial-card, .testimonial-card *,
.brand-item, .brand-item *,
.card, .card * {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* Internet Explorer 10+ */
}

.service-card::-webkit-scrollbar,
.testimonial-card::-webkit-scrollbar,
.brand-item::-webkit-scrollbar,
.card::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none !important; /* WebKit */
    width: 0 !important;
    height: 0 !important;
}

/* Forcar altura automatica em todos os cards */
.service-card {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

/* HTML base para responsividade */
html {
    overflow-x: hidden !important;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
    max-width: 100%;
}

/* ===============================
   CONTAINER RESPONSIVO
=============================== */
.container, .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* ===============================
   HEADER STYLES
=============================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.4s ease;
    z-index: 1000;
}

.navbar .container {
    position: relative;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0;
}

.navbar-logo {
    flex: 0 0 auto;
    width: 70px;
}

.navbar-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.navbar-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 174, 239, 0.2);
    transition: all 0.3s ease;
}

.navbar-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
}

.navbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--brand-blue) !important;
    text-shadow: 0 0 20px rgba(0, 174, 239, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    flex: 1;
    text-align: center;
}

.navbar-brand i:not(.fa-snowflake) {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rotate 4s linear infinite;
}

/* ===============================
   COMPACT HEADER STYLES
=============================== */
.navbar-compact {
    background: rgba(10, 17, 23, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.5rem 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
}

.navbar-compact.visible {
    transform: translateY(0);
    opacity: 1;
}

.navbar-brand-compact {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--brand-blue) !important;
    text-shadow: 0 0 15px rgba(133, 153, 176, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar-brand-compact:hover {
    color: var(--white) !important;
    transform: scale(1.05);
}

.navbar-brand-compact i {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #1ba84e 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    color: white;
}

/* ===============================
   HERO SECTION
=============================== */
.hero {
    background: var(--gradient);
    min-height: 100vh !important;
    height: 100vh !important;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
    margin-top: -20px !important;
    margin-bottom: 0 !important;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(133, 153, 176, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(95, 123, 138, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="white" stroke-width="0.3" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 1.2rem !important;
    line-height: 1.2 !important;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6) !important;
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 90%;
    filter: contrast(1.2) brightness(1.1);
}

.hero h1 span {
    color: var(--brand-blue) !important; /* Azul sólido para máxima visibilidade */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 900; /* Extra bold para destaque */
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem) !important;
    color: rgba(255, 255, 255, 0.98) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.6 !important;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.7) !important;
    filter: contrast(1.1) brightness(1.05);
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* Sombra mais forte */
    font-weight: 400; /* Peso da fonte para melhor legibilidade */
}

.btn-primary-custom {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(133, 153, 176, 0.3);
    color: var(--white);
}

.hero-decoration {
    font-size: clamp(6rem, 12vw, 15rem);
    color: rgba(255, 255, 255, 0.15) !important;
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0px); }
    50% { transform: translateY(-50%) translateX(-20px); }
}

/* ===============================
   SERVICES SECTION
=============================== */
.services {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: none;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    /* Improved contrast background for readability */
    background: linear-gradient(135deg, #f9fbfd, #eef3f7);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
    height: auto;
    min-height: 350px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(0, 174, 239, 0.18);
    border-color: rgba(0,174,239,0.35);
    background: linear-gradient(135deg, #fdfefe, #f1f6fa);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-accent);
}

.service-card h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0f3b53; /* Darker heading for contrast */
}

.service-card p {
    color: #2f4d5d; /* Darker paragraph text */
    line-height: 1.7;
    font-size: 1rem;
}

/* ===============================
   CONTACT FORM SECTION
=============================== */
.contact-form {
    padding: 120px 0;
    background: var(--gradient);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(48, 53, 59, 0.3);
    padding: 4rem;
    border-radius: 32px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-heavy);
}

.form-control, .form-select {
    padding: 18px 24px;
    border: 2px solid var(--border-subtle);
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--brand-dark) !important;
    backdrop-filter: blur(10px);
}

.form-control::placeholder {
    color: var(--brand-dark) !important;
    opacity: 0.7;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.3rem rgba(0, 174, 239, 0.2);
    background: rgba(255, 255, 255, 1) !important;
    color: var(--brand-dark) !important;
    outline: none;
}

.form-select option {
    background: white !important;
    color: var(--brand-dark) !important;
}

.btn-submit {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(133, 153, 176, 0.4);
}

/* ===============================
   ABOUT SECTION
=============================== */
.about {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.about-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-content p {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
}

.about-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 4px;
    height: 4px;
    background: var(--brand-blue);
    border-radius: 50%;
}

.about-decoration {
    font-size: clamp(8rem, 12vw, 15rem);
    color: rgba(133, 153, 176, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.03; }
    50% { transform: scale(1.05); opacity: 0.05; }
}

/* ===============================
   TESTIMONIALS SECTION
=============================== */
.testimonials {
    padding: 120px 0;
    background: var(--gradient);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.testimonial-card {
    background: rgba(48, 53, 59, 0.4);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--border-light);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.testimonial-author strong {
    color: var(--white);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===============================
   GOOGLE REVIEWS SECTION
=============================== */
.google-reviews {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.google-reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4285f4, transparent);
    opacity: 0.5;
}

.google-rating-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto 60px;
    max-width: 500px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.rating-score {
    margin-bottom: 20px;
}

.rating-score .score {
    font-size: 48px;
    font-weight: 700;
    color: var(--brand-dark) !important; /* Azul escuro para contraste no fundo branco */
    margin-right: 15px;
    text-shadow: none; /* Remove sombra desnecessária */
}

.rating-score .stars {
    display: inline-flex;
    gap: 5px;
    vertical-align: middle;
}

.rating-score .stars i {
    color: #ffd700;
    font-size: 24px;
}

.rating-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 16px;
}

.google-link {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.google-link:hover {
    color: #5a95f5;
    text-decoration: underline;
}

.google-review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.google-review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.google-review-card:hover::before {
    transform: scaleX(1);
}

.google-review-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-heavy);
    border-color: #4285f4;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4, #34a853);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.reviewer-details h6 {
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars i {
    color: #ffd700;
    font-size: 14px;
}

.review-stars .far {
    color: rgba(255, 215, 0, 0.3);
}

.review-date {
    color: #666666;
    font-size: 12px;
    white-space: nowrap;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #4285f4;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.reviews-actions {
    margin-top: 40px;
}

.reviews-actions .btn {
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.reviews-actions .btn-outline-primary {
    border-color: #4285f4;
    color: #4285f4;
}

/* Google Reviews - Carregamento Automatico */
.google-reviews .section-subtitle {
    opacity: 0.9;
    font-style: italic;
}

.google-rating-summary .score {
    transition: all 0.3s ease;
}

.google-review-card {
    transition: all 0.4s ease;
}

/* Indicador de carregamento automatico */
.reviews-loading {
    display: inline-block;
    margin-left: 10px;
    opacity: 0.7;
}

.reviews-loading i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.reviews-actions .btn-outline-primary:hover {
    background: #4285f4;
    color: white;
}

.reviews-actions .btn-primary {
    background: linear-gradient(135deg, #4285f4, #34a853);
    border: none;
}

.reviews-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(66, 133, 244, 0.3);
}

/* ===============================
   BRANDS SECTION
=============================== */
.brands {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 100%;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(48, 53, 59, 0.3);
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.brand-item:hover {
    background: rgba(48, 53, 59, 0.5);
    transform: translateY(-5px);
    border-color: var(--border-light);
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.brand-logo i {
    font-size: 2.5rem;
    color: var(--brand-blue);
}

.brand-image {
    width: 120px;
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0.8) grayscale(0.3);
    transition: all 0.3s ease;
}

.brand-item:hover .brand-image {
    filter: brightness(1) grayscale(0);
    transform: scale(1.05);
}

.brand-logo span {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ===============================
   FOOTER
=============================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-subtle);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.footer-title {
    color: var(--brand-blue) !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--brand-blue);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    background: rgba(48, 53, 59, 0.3);
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    color: var(--white);
    background: var(--gradient-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(133, 153, 176, 0.3);
    border-color: var(--brand-blue);
}

.footer-cta {
    color: var(--text-light);
    line-height: 1.6;
}

.emergency-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.emergency-link:hover {
    color: #20ba5a;
    text-decoration: underline;
}

.footer-divider {
    border: none;
    height: 1px;
    background: var(--border-subtle);
    margin: 3rem 0 2rem;
}

.footer-text {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-brand {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-brand i {
    color: var(--brand-blue);
    margin: 0 0.5rem;
}

/* Ícones de floco de neve em todas as seções */
.fas.fa-snowflake {
    color: var(--brand-blue) !important;
}

/* Garantir visibilidade dos ícones no navbar e outras seções */
.navbar-brand .fas.fa-snowflake {
    color: #00AEEF !important;
    -webkit-text-fill-color: #00AEEF !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

/* SUPER ESPECÍFICO: Força cor azul no floco do navbar */
nav.navbar .navbar-brand a .fas.fa-snowflake,
nav.navbar .navbar-brand .fas.fa-snowflake,
.navbar .navbar-brand i.fas.fa-snowflake,
i[class*="fa-snowflake"].fas {
    color: #00AEEF !important;
    -webkit-text-fill-color: #00AEEF !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    fill: #00AEEF !important;
}

/* ÚLTIMA TENTATIVA: Regra universal para snowflake no navbar */
* .navbar-brand * .fa-snowflake {
    color: #00AEEF !important;
    -webkit-text-fill-color: #00AEEF !important;
    background: none !important;
}

/* Ícones de floco nos modais */
.modal-title .fas.fa-snowflake {
    color: white !important;
}

/* Ícones de floco na seção hero */
.hero .fas.fa-snowflake {
    color: var(--brand-blue) !important;
}

/* ===============================
   FLOATING ACTION BUTTONS
=============================== */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-float, .calculator-float, .schedule-float {
    opacity: 1; /* Temporarily visible for debugging */
    transform: translateX(0); /* Temporarily positioned for debugging */
    transition: all 0.4s ease;
}

.whatsapp-float.visible, .calculator-float.visible, .schedule-float.visible {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float-btn, .calculator-float-btn, .schedule-float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.whatsapp-float-btn {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: white;
}

.calculator-float-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white !important;
    border: none;
}

.schedule-float-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white !important;
    border: none;
}

.whatsapp-float-btn:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #1ba84e 100%);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: white;
}

.calculator-float-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
}

.schedule-float-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.5);
}

.whatsapp-float-btn i, .calculator-float-btn i, .schedule-float-btn i {
    font-size: 1.35rem;
    animation: pulse 2s infinite;
}

.whatsapp-text, .calculator-text, .schedule-text {
    font-size: 0.9rem;
    white-space: nowrap;
    color: white !important;
    font-weight: 600;
}

/* Smaller calculate/schedule buttons vs WhatsApp */
.calculator-float-btn, .schedule-float-btn {
    padding: 10px 14px;
    gap: 8px;
}
.calculator-float-btn i, .schedule-float-btn i { font-size: 1.25rem; }
.calculator-text, .schedule-text { font-size: 0.85rem; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===============================
   STATISTICS SECTION
=============================== */
.statistics {
    padding: 120px 0;
    background: var(--gradient);
    position: relative;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.stat-card {
    background: rgba(48, 53, 59, 0.4);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: var(--border-light);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===============================
   DIFERENTIALS SECTION
=============================== */
.diferentials {
    padding: 120px 0;
    background: var(--bg-dark);
    position: relative;
}

.diferentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.differential-card {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 2.25rem 2rem;
    background: linear-gradient(135deg,#f9fbfd,#eef4f8);
    border-radius: 20px;
    border: 1px solid #d6e2ea;
    transition: box-shadow .35s ease, transform .35s ease;
    min-height: 170px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.differential-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,174,239,.18);
    border-color: #8ecbe6;
}

.differential-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.differential-content h4 {
    color: #0f3b53;
    font-weight: 700;
    margin-bottom: .75rem;
    font-size: 1.35rem;
}

.differential-content p {
    color: #295066;
    line-height: 1.6;
    margin: 0;
}

/* ===============================
   CALCULATOR & SCHEDULER MODALS
=============================== */
.modal-content {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid var(--brand-blue);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.modal-header {
    background: var(--gradient-accent);
    color: white;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 20px 20px 0 0;
}

.modal-title {
    font-weight: 700;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.calculator-container, .scheduler-container {
    color: var(--brand-dark) !important;
}

/* Garantir que todos os textos dos modais fiquem visíveis */
.modal-body, .modal-body p, .modal-body h1, .modal-body h2, .modal-body h3, 
.modal-body h4, .modal-body h5, .modal-body h6, .modal-body span, .modal-body div {
    color: var(--brand-dark) !important;
}



.calc-input-group {
    margin-bottom: 1.5rem;
}

.calc-input-group label {
    color: var(--brand-dark) !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.calc-result {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 174, 239, 0.1) !important;
    border-radius: 16px;
    border: 2px solid var(--brand-blue);
    color: var(--brand-dark) !important;
}

.result-card h6 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    color: var(--text-light);
}

.result-value {
    color: var(--white);
    font-weight: 600;
}

/* RESPONSIVIDADE MOBILE - 480px e menor */
@media (max-width: 480px) {
    /* Garantir que nao haja overflow horizontal */
    body, html {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    /* Container ajustado para mobile */
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Botoes flutuantes mobile */
    .whatsapp-text, .calculator-text, .schedule-text {
        display: none;
    }
    
    .whatsapp-float-btn, .calculator-float-btn, .schedule-float-btn {
        width: 56px !important;
        height: 56px !important;
        padding: 0 !important;
        justify-content: center;
        border-radius: 50% !important;
        min-width: unset !important;
    }
    
    .floating-actions {
        bottom: 15px !important;
        right: 15px !important;
        gap: 12px !important;
    }

    /* Hero section mobile */
    .hero {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        margin-top: -15px !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        color: #ffffff !important;
        text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8) !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
    
    .hero p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        color: rgba(255, 255, 255, 0.95) !important; /* Máximo contraste mobile */
    }
    
    /* Botoes hero mobile */
    .btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        margin-bottom: 10px !important;
        width: 100% !important;
        max-width: 280px !important;
    }
    
    .btn-lg {
        padding: 14px 24px !important;
        font-size: 1rem !important;
    }

    /* Navbar mobile */
    .navbar-brand {
        font-size: 1.1rem !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
    }
    
    .navbar-logo {
        width: 55px !important;
    }
    
    .navbar-logo-img {
        width: 45px !important;
        height: 45px !important;
    }
    
    .navbar-brand-compact {
        font-size: 1rem !important;
    }
    
    .whatsapp-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }

    /* Cards e secoes mobile */
    .stat-card {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1rem !important;
    }

    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }

    .differential-card {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
        padding: 1.5rem !important;
    }

    .differential-card:hover {
        transform: translateY(-5px) !important;
    }
    
    /* Formulario mobile */
    .form-container {
        padding: 20px !important;
    }
    
    .form-control, .form-select {
        font-size: 16px !important; /* Previne zoom no iOS */
        padding: 12px 15px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        color: var(--brand-dark) !important;
    }
    
    /* Footer mobile */
    .contact-item {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
    
    /* Reviews mobile */
    .google-review-card {
        margin-bottom: 1rem !important;
    }
    
    /* Brands mobile */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .brand-item {
        padding: 15px !important;
    }

    .hero p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.95) !important; /* Contraste em telas pequenas */
    }

    .btn-primary-custom {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .service-card {
        padding: 1.8rem 1.2rem;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 1.8rem 1.2rem;
    }

    .form-container {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }

    .modal-body {
        padding: 1rem;
    }
    
    .modal-content {
        background: rgba(255, 255, 255, 0.98) !important;
    }
    
    .calculator-container, .scheduler-container {
        color: var(--brand-dark) !important;
    }

    .calc-input-group, .mb-3 {
        margin-bottom: 1rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .brand-item {
        padding: 1.2rem;
    }
}

/* ===============================
   TABLET RESPONSIVO (768px e menor)
=============================== */
@media (max-width: 768px) {
    /* Container tablet */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero section tablet */
    .hero {
        padding-top: 15px !important;
        margin-top: -15px !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
        margin-bottom: 0.6rem !important;
    }
    
    /* Botoes flutuantes tablet */
    .floating-actions {
        bottom: 25px;
        right: 25px;
    }
    
    .whatsapp-float-btn, .calculator-float-btn, .schedule-float-btn {
        padding: 12px 18px;
    }
    
    /* Cards tablet */
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .differential-card {
        padding: 2rem;
    }
    
    /* Brands tablet */
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* ===============================
   EXTRA SMALL DEVICES (360px e menor)
=============================== */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem !important;
        margin-bottom: 0.8rem !important;
        color: #ffffff !important;
        text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8) !important;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card h4 {
        font-size: 1.3rem;
    }
    
    .form-container {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .form-control, .form-select {
        padding: 14px 18px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.95) !important;
        color: var(--brand-dark) !important;
    }
    
    .btn-submit {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Brands single column for very small devices */
    .brands-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .brand-item {
        padding: 1rem !important;
    }
    
    .brand-image {
        width: 100px;
        height: 50px;
    }
    
    .floating-actions {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float-btn, .calculator-float-btn, .schedule-float-btn {
        width: 55px;
        height: 55px;
    }
}

/* ===============================
   LOADING ANIMATION
=============================== */
.loading {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 23, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    opacity: 1;
    visibility: visible;
}

.loading.hidden {
    display: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-subtle);
    border-top: 4px solid var(--brand-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===============================
   SUCCESS MESSAGE
=============================== */
.alert-success-custom {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 20px;
    border-radius: 16px;
    margin-top: 20px;
    display: none;
    backdrop-filter: blur(10px);
}

/* ===============================
   RESPONSIVE DESIGN
=============================== */
/* ===============================
   TABLETS (768px and down)  
=============================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.95) !important; /* Contraste em tablets */
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card, .testimonial-card {
        margin-bottom: 2rem;
        padding: 2rem 1.5rem;
        height: auto !important;
        overflow: visible !important;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-brand-compact {
        font-size: 1.2rem;
    }

    .whatsapp-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .form-container {
        padding: 2rem;
        margin: 0 1rem;
    }

    .social-links {
        justify-content: center;
        gap: 1rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .hero-decoration {
        display: none;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .brand-item {
        padding: 1.5rem;
    }

    .footer-contact {
        margin-bottom: 2rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .stat-card {
        padding: 2.5rem 2rem;
    }

    .differential-card {
        padding: 2rem;
    }

    .about-decoration {
        font-size: 8rem;
    }
}

/* ===============================
   SMALL TABLETS (576px and down)
=============================== */
@media (max-width: 576px) {
    .hero {
        padding: 1rem 0 !important;
        min-height: calc(100vh - 40px) !important;
        margin-top: -10px !important;
        padding-top: 10px !important;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .btn-primary-custom {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

    .service-card {
        padding: 2rem 1.3rem;
        height: auto !important;
        overflow: visible !important;
    }

    .testimonial-card {
        padding: 2rem 1.3rem;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-content {
        background: rgba(255, 255, 255, 0.98) !important;
    }
    
    .calculator-container, .scheduler-container {
        color: var(--brand-dark) !important;
    }

    .install-prompt-content {
        padding: 0.8rem 1.2rem;
        min-width: 260px;
    }
}

@media (max-width: 480px) {
    .btn-primary-custom,
    .btn-submit {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .form-container {
        padding: 1.5rem;
    }
}

/* ===============================
   CLIMATIZATION SPECIFIC STYLES
=============================== */
.temperature-indicator {
    position: relative;
    display: inline-block;
}

.temperature-indicator::after {
    content: '❄️';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.air-flow {
    position: relative;
    overflow: hidden;
}

.air-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(133, 153, 176, 0.1), transparent);
    animation: airFlow 3s linear infinite;
}

@keyframes airFlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===============================
   PWA INSTALL PROMPT
=============================== */
.pwa-install-prompt {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.pwa-install-prompt.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.install-prompt-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 300px;
}

.install-prompt-icon {
    font-size: 1.5rem;
}

.install-prompt-text h6 {
    margin: 0;
    font-weight: 700;
    font-size: 0.9rem;
}

.install-prompt-text p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.9;
}

.install-prompt-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.btn-install-pwa, .btn-close-prompt {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-install-pwa:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.btn-close-prompt:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .install-prompt-content {
        min-width: 280px;
        padding: 0.8rem 1rem;
    }
    
    .install-prompt-text h6 {
        font-size: 0.8rem;
    }
    
    .install-prompt-text p {
        font-size: 0.7rem;
    }
}

/* ===============================
   UTILITY CLASSES
=============================== */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glassmorphism {
    background: rgba(48, 53, 59, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   WHATSAPP FALLBACK MODAL
=============================== */
#whatsappFallbackModal .modal-content {
    background: linear-gradient(135deg, #8599B0, #30353B) !important;
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#whatsappFallbackModal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

#whatsappFallbackModal .modal-title {
    font-weight: 600;
    font-size: 1.2rem;
}

#whatsappFallbackModal .modal-body {
    padding: 2rem;
}

#whatsappFallbackModal .btn-success {
    background: #25D366;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

#whatsappFallbackModal .btn-success:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

#whatsappFallbackModal .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#whatsappFallbackModal .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-1px);
}

#whatsappFallbackModal .fas.fa-exclamation-triangle {
    color: #ffc107;
}

#whatsappFallbackModal .fab.fa-whatsapp {
    text-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ===============================
   ENHANCED FORM ERROR STYLES
=============================== */
.alert-error-custom {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
    padding: 20px !important;
    border-radius: 16px !important;
    margin-top: 20px !important;
    backdrop-filter: blur(10px) !important;
    white-space: pre-line;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.1);
}

.alert-error-custom i {
    font-size: 1.2rem;
    margin-right: 8px;
}

/* ===============================
    AR VIEWER STYLES
=============================== */

/* Voice Search Button in Header */
/* Voice search removed */

/* Voice search removed */

/* Voice search removed */

/* Voice search removed */

/* Voice search removed */



/* Voice search removed */

/* Voice search removed */

/* Voice search removed */

/* Voice search removed */

/* Voice search removed */

/* Voice search removed */

/* Skeleton Loading Animation for Performance */
.skeleton-loading {
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.1) 25%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 2s infinite;
    border-radius: 8px;
}

@keyframes skeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Smart Image Loading with WebP Support */
.smart-image {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 174, 239, 0.1);
}

.smart-image.loaded {
    opacity: 1;
}

.smart-image.loading {
    background: linear-gradient(90deg, 
        rgba(0, 174, 239, 0.1) 25%, 
        rgba(0, 174, 239, 0.2) 50%, 
        rgba(0, 174, 239, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
}

/* Micro-animations Enhancement */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Button Hover Effects */
.btn-enhanced:hover {
    transform: translateY(-2px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-enhanced:active {
    transform: translateY(0);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Performance Optimization Classes */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translate3d(0, 0, 0);
}

/* Responsive AR Features */
@media (max-width: 768px) {
    /* Voice search removed */
    
    .ar-preview-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    
    .equipment-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    /* Voice search removed */
}

/* ===============================
   ENHANCED MICRO-ANIMATIONS
=============================== */

/* Advanced Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, 
        rgba(0, 174, 239, 0.1) 0%,
        rgba(0, 174, 239, 0.2) 50%,
        rgba(0, 174, 239, 0.1) 100%);
    background-size: 200% 100%;
    animation: skeletonLoader 2s infinite;
    border-radius: 8px;
}

@keyframes skeletonLoader {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-text {
    height: 16px;
    margin: 8px 0;
    border-radius: 4px;
}

.skeleton-title {
    height: 24px;
    width: 70%;
    margin: 16px 0;
    border-radius: 6px;
}

.skeleton-button {
    height: 40px;
    width: 120px;
    margin: 12px 0;
    border-radius: 8px;
}

/* Enhanced Service Cards Animation */
.service-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 174, 239, 0.1), 
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 174, 239, 0.2);
}

/* Button Enhancement with Ripple Effect */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.btn-enhanced:active::before {
    width: 300px;
    height: 300px;
}

/* Staggered Animation for Lists */
.stagger-animation {
    opacity: 0;
    transform: translateY(30px);
    animation: staggerFadeIn 0.6s ease forwards;
}

.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation:nth-child(5) { animation-delay: 0.5s; }

@keyframes staggerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Form Field Animations */
.form-group {
    position: relative;
}

.form-control:focus + .form-label {
    transform: translateY(-25px) scale(0.85);
    color: var(--brand-blue);
}

.form-label {
    position: absolute;
    left: 12px;
    top: 15px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: var(--bg-primary);
    padding: 0 8px;
    z-index: 5;
}

.form-control:not(:placeholder-shown) + .form-label {
    transform: translateY(-25px) scale(0.85);
    color: var(--text-secondary);
}

/* Pulse Animation for Important Elements */
.pulse-glow {
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 174, 239, 0);
    }
}

/* Smooth Page Transitions */
.page-transition {
    opacity: 0;
    transform: scale(0.95);
    animation: pageLoad 0.8s ease forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Icon Bounce Animation */
.icon-bounce {
    animation: iconBounce 2s infinite;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Gradient Text Animation */
.gradient-text {
    color: #ffffff !important;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3) !important;
    filter: contrast(1.2) brightness(1.1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    /* Disabled gradient for better visibility
    background: linear-gradient(45deg, #ffffff, #f0f8ff, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite; */
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Enhanced Navbar Animation */
.navbar-brand {
    transition: text-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover {
    text-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
}

/* Smart Image Loading Animation */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        rgba(0, 174, 239, 0.1) 0%,
        rgba(0, 174, 239, 0.2) 50%,
        rgba(0, 174, 239, 0.1) 100%);
    background-size: 200% 100%;
    animation: imageLoading 2s infinite;
    z-index: 1;
}

.image-container img {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.image-container img.loaded {
    opacity: 1;
}

.image-container img.loaded ~ ::after {
    display: none;
}

@keyframes imageLoading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Enhanced Modal Animations */
.modal.fade .modal-dialog {
    transform: scale(0.8) rotateX(-15deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) rotateX(0deg);
}

/* Performance Optimizations */
.animate-on-scroll {
    will-change: transform, opacity;
}

.animate-on-scroll.animate-in {
    animation: slideInUp 0.6s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Interactive Hover Effects */
.interactive-hover {
    position: relative;
    transform: perspective(1000px);
    transition: transform 0.3s ease;
}

.interactive-hover:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(2deg);
}

/* Loading Spinner Enhancement */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 174, 239, 0.1);
    border-left: 4px solid var(--brand-blue);
    border-radius: 50%;
    animation: spinEnhanced 1s linear infinite;
}

@keyframes spinEnhanced {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Enhanced Micro-interactions */
.micro-interact {
    transition: all 0.2s ease;
}

.micro-interact:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.micro-interact:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading-skeleton,
    .skeleton-loading,
    .pulse-glow {
        animation: none !important;
    }
}

/* ===============================
   SERVICE GALLERY MODAL
=============================== */

.service-gallery-modal .modal-content {
    background: #ffffff;
    border: 1px solid rgba(0, 174, 239, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-gallery-header {
    background: rgba(0, 174, 239, 0.05);
    border-bottom: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 20px 20px 0 0;
    padding: 25px 30px;
}

.service-gallery-header h5 {
    color: #00AEEF;
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
}

.service-gallery-body {
    padding: 30px;
    color: #333333;
}

.service-description {
    color: #444444 !important;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-description p {
    color: #444444 !important;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 174, 239, 0.1);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 174, 239, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 174, 239, 0.8) 0%, 
        rgba(0, 51, 102, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(0, 174, 239, 0.1), 
        rgba(0, 51, 102, 0.1));
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
    height: 100%;
    border: 2px dashed rgba(0, 174, 239, 0.3);
}

.service-description {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    color: #e1e8ed;
    line-height: 1.6;
    border-left: 4px solid #00AEEF;
}

.service-features {
    background: rgba(0, 174, 239, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.service-features h6 {
    color: #00AEEF;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 8px 0;
    color: #e1e8ed;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00AEEF;
    font-weight: bold;
}

.gallery-footer {
    background: rgba(0, 174, 239, 0.05);
    border-top: 1px solid rgba(0, 174, 239, 0.2);
    border-radius: 0 0 20px 20px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-info {
    color: #333333;
}

.service-info small {
    color: #666666;
}

#serviceTime {
    color: #00AEEF;
    font-weight: 600;
}

.btn-schedule-service {
    background: linear-gradient(135deg, #00AEEF, #0288d1);
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.btn-schedule-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.4);
    background: linear-gradient(135deg, #0288d1, #01579b);
    color: white;
}

.service-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0, 174, 239, 0.25);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-gallery-header {
        padding: 20px;
    }
    
    .service-gallery-body {
        padding: 20px;
    }
    
    .gallery-footer {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .btn-schedule-service {
        width: 100%;
    }
}

/* Gallery Images Enhancement */
.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.gallery-placeholder small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
}

/* Service Gallery Text Styles */
.service-features {
    margin-top: 30px;
}

.service-features h6 {
    color: #00AEEF !important;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: #333333 !important;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00AEEF;
    font-weight: bold;
}

.service-info {
    color: #333333 !important;
}

.service-info small {
    color: #666666 !important;
}

#serviceTime {
    color: #00AEEF !important;
    font-weight: 600;
}

/* Gallery Footer Text Colors */
.gallery-footer {
    color: #333333;
}

/* Print Optimizations */
@media print {
    .skeleton-loading,
    .loading-spinner,
    .animate-on-scroll {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}