/* === DESIGN TOKENS & VARIABLES === */
:root {
    /* Color Palette */
    --primary: #0A2540; /* Deep navy blue - trust, enterprise */
    --primary-light: #1A3B5C;
    --primary-dark: #051426;
    --secondary: #FF6B35; /* Vibrant orange - action, urgency */
    --secondary-hover: #E85A26;
    --accent: #00B4D8; /* Light blue - modern, clean */
    
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --text-main: #334155;
    --text-light: #64748B;
    --white: #FFFFFF;
    
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --section-padding: 100px 0;
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE STYLES === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }
.lead { font-size: 1.25rem; color: var(--text-light); }
a { text-decoration: none; color: var(--primary); transition: var(--transition-fast); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: var(--section-padding); }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 { color: var(--white) !important; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-dark { color: var(--text-main) !important; }
.text-accent { color: var(--accent) !important; }
.text-warning { color: var(--warning) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-sm { font-size: 0.875rem !important; }
.text-opacity-80 { opacity: 0.8 !important; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.w-100 { width: 100%; }

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.4);
}
.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-emergency {
    background-color: var(--danger);
    color: var(--white);
    animation: pulse 2s infinite;
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}
.btn-lg { padding: 16px 32px; font-size: 1.125rem; }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-normal);
    padding: 15px 0;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}
.logo span { color: var(--secondary); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
    background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.9)), url('assets/hero_bg.jpg') center/cover;
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.trust-badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
}
.trust-badge-hero .stars { color: var(--warning); }

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--secondary); display: block; }

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-benefits {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}
.hero-benefits i { color: var(--success); }

/* === SOCIAL PROOF BAR === */
.social-proof-bar {
    background-color: var(--primary-dark);
    padding: 30px 0;
    color: var(--white);
    border-bottom: 4px solid var(--secondary);
}

.proof-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.proof-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.proof-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* === PROBLEM SECTION === */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pain-points { margin: 2rem 0; }
.pain-points li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.pain-points i { margin-top: 4px; }
.text-danger { color: var(--danger); }

.solution-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--success);
    position: relative;
}
.solution-box .badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--success);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.glass-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.damage-card {
    background: url('assets/hail_damage.jpg') center/cover;
    height: 500px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.damage-alert {
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: var(--border-radius-sm);
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
}
.damage-alert i { font-size: 2rem; color: var(--danger); }

/* === WHY US === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition-fast);
}
.feature-card:hover .feature-icon {
    background: var(--accent);
    color: var(--white);
}

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}
.glass-panel:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 1rem;
}
.btn-link:hover { gap: 10px; color: var(--white); }

/* === PROCESS / HOW IT WORKS === */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 2px;
    background: var(--accent);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
}

/* === CALCULATOR === */
.calculator-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
}

.calc-step { display: none; }
.calc-step.active { display: block; animation: fadeIn 0.5s ease; }

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
}
.radio-group label {
    display: block;
    padding: 15px 20px;
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}
.radio-group label:hover { border-color: var(--accent); background: #F0F9FF; }
.radio-group input[type="radio"] { margin-right: 10px; }
.radio-group input[type="radio"]:checked + label {
    border-color: var(--primary);
    background: var(--bg-light);
}

.calc-result { display: none; text-align: center; }
.calc-result.active { display: block; animation: scaleIn 0.5s ease; }
.result-icon { font-size: 3rem; color: var(--success); margin-bottom: 1rem; }

/* === GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
}
.gallery-label.label-after {
    background: rgba(16, 185, 129, 0.9);
}
@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 300px; }
}

/* === TESTIMONIALS === */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.review-text { font-size: 1.1rem; font-style: italic; color: var(--text-main); margin-bottom: 1.5rem; }

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}
.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.reviewer-info span { display: block; font-size: 0.85rem; color: var(--text-light); }

/* === CERTIFICATIONS === */
.cert-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.cert-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === FAQ === */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 1rem;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 500px;
}
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-question i { transition: transform 0.3s ease; }

/* === FINAL CTA & FORM === */
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.urgency-banner {
    background: rgba(255, 107, 53, 0.2);
    border-left: 4px solid var(--secondary);
    padding: 15px;
    border-radius: 4px;
    font-weight: 500;
}

.contact-info-large a {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-heading);
}

.cta-form-wrapper { padding: 3rem; background: var(--white); }
.form-group { margin-bottom: 1.25rem; }
.form-group input, .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: var(--white);
    color: var(--text-main);
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}
.privacy-note { font-size: 0.8rem; color: var(--text-light); text-align: center; margin-top: 1rem; }

/* === FOOTER === */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer h4 { color: var(--white); margin-bottom: 1.5rem; }
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1rem;
}
.footer-logo span { color: var(--secondary); }
.footer ul li { margin-bottom: 0.75rem; }
.footer ul a { color: var(--text-light); }
.footer ul a:hover { color: var(--secondary); }
.contact-col p { margin-bottom: 0.75rem; display: flex; gap: 10px; }
.contact-col i { margin-top: 4px; color: var(--accent); }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
}
.social-links a:hover { background: var(--secondary); }
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}
.legal-links a { color: var(--text-light); margin-left: 1rem; }

/* === ANIMATIONS === */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.scroll-fade, .scroll-fade-up, .scroll-fade-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade { transform: translateY(0); }
.scroll-fade-up { transform: translateY(30px); }
.scroll-fade-right { transform: translateX(30px); }

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .problem-grid, .cta-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hidden-mobile { display: none; }
    .header-container { flex-direction: column; gap: 10px; }
    .header-actions { flex-wrap: wrap; justify-content: center; }
    .hero { padding-top: 130px; text-align: center; }
    .hero-benefits { flex-direction: column; gap: 10px; align-items: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero-ctas { flex-direction: column; }
    .proof-grid { flex-direction: column; gap: 1.5rem; }
    
    .timeline::before { display: none; }
    .timeline-item { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
    .timeline-number { margin: 0 auto; width: 50px; height: 50px; font-size: 1.2rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 300px; }
    .cert-logos { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 480px) {
    .section-padding { padding: 60px 0; }
    .hero h1 { font-size: 1.8rem; }
    .glass-card { padding: 1.5rem; }
    .cta-form-wrapper { padding: 1.5rem; }
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: fixed;
    bottom: 95px;
    right: 20px;
    background: var(--white);
    color: var(--text-main);
    padding: 15px 40px 15px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #E2E8F0;
    transform-origin: bottom right;
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 25px;
    width: 15px;
    height: 15px;
    background: var(--white);
    transform: rotate(45deg);
    border-right: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}
.whatsapp-tooltip.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.wa-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s ease;
}
.wa-close:hover {
    color: var(--danger);
}
