/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #0a2540;       /* Deep Navy - Trust & Structure */
    --color-secondary: #00d084;     /* Emerald Green - Ecological */
    --color-secondary-dark: #00a86b;
    --color-accent: #efb945;        /* Gold/Yellow - Brand Accent & Offer */
    --color-accent-dark: #d69e2e;
    --color-light: #f8fafc;         /* Off-white */
    --color-dark: #0f172a;          /* Charcoal */
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-500: #64748b;
    --color-gray-700: #334155;
    
    /* Layout & Effects */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --box-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --box-shadow-glow: 0 0 20px rgba(0, 208, 132, 0.3);
    --glass-background: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-light);
    color: var(--color-gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-light { color: var(--color-gray-200) !important; }

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.section-title {
    font-size: 2.25rem;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-500);
    max-width: 700px;
    margin: 0 auto 48px auto;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--color-primary);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 576px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    .top-bar-content span:not(:last-child) {
        display: none; /* Hide location & hours on very small screens to fit contact */
    }
}

.top-bar i {
    color: var(--color-secondary);
    margin-right: 6px;
}

.top-phone {
    font-weight: 600;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
}

.top-phone:hover {
    color: var(--color-accent);
}

.main-header {
    background-color: #fff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--box-shadow-sm);
}

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

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

.btn-primary {
    background-color: var(--color-secondary);
    color: #fff;
    box-shadow: var(--box-shadow-glow);
}

.btn-primary:hover {
    background-color: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 208, 132, 0.4);
}

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

.btn-secondary:hover {
    background-color: #1a365d;
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 4px 14px rgba(239, 185, 69, 0.3);
}

.btn-accent:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 185, 69, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: var(--border-radius-md);
}

.w-100 {
    width: 100%;
}

/* Button shine effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    transition: none;
    animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
    0% { left: -60%; }
    15% { left: 130%; }
    100% { left: 130%; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 10px 0 60px 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 208, 132, 0.08) 0%, rgba(10, 37, 64, 0.02) 60%, rgba(255, 255, 255, 0) 100%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    .hero-content {
        order: 0;
    }
    .hero-image-container {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
}

.badge {
    background-color: rgba(0, 208, 132, 0.1);
    color: var(--color-secondary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 3.25rem;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.hero-lead {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--color-gray-700);
}

.promo-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border-left: 5px solid var(--color-accent);
    padding: 16px 20px;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
    margin-bottom: 32px;
    box-shadow: var(--box-shadow-sm);
    text-align: left;
}

.promo-badge {
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.promo-text {
    font-size: 0.95rem;
    color: var(--color-primary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn {
        width: 100%;
    }
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: var(--color-primary);
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

@media (max-width: 480px) {
    .floating-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 16px;
    }
}

.floating-badge .number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1;
}

.floating-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--color-gray-300);
}

/* ==========================================================================
   BEFORE AFTER INTERACTIVE SLIDER
   ========================================================================== */
.slider-section {
    padding: 80px 0;
    background-color: var(--color-gray-100);
}

.comparison-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    border: 4px solid #fff;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

@media (max-width: 768px) {
    .comparison-slider {
        height: 300px;
    }
}

.comparison-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.image-before, .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-before {
    z-index: 1;
}

.image-after {
    z-index: 2;
    width: 50%; /* Default cut-off point */
}

/* Labels on images */
.label {
    position: absolute;
    bottom: 20px;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.label-before {
    left: 20px;
    background-color: rgba(239, 69, 69, 0.85); /* Soft Red */
    color: #fff;
}

.label-after {
    right: 20px;
    background-color: rgba(0, 208, 132, 0.85); /* Ecoserv Green */
    color: #fff;
}

/* Handle line & button */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* Default cut-off point */
    width: 4px;
    background-color: #fff;
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.handle-line {
    width: 4px;
    flex: 1;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.handle-button {
    width: 44px;
    height: 44px;
    background-color: var(--color-secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.slider-handle:hover .handle-button {
    background-color: var(--color-secondary-dark);
}

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */
.benefits-section {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.benefit-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-gray-100);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
    border-color: rgba(0, 208, 132, 0.2);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 208, 132, 0.1);
    color: var(--color-secondary-dark);
    border-radius: var(--border-radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--color-secondary);
    color: #fff;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE CALCULATOR
   ========================================================================== */
.calculator-section {
    padding: 80px 0;
    background: linear-gradient(185deg, var(--color-gray-100) 0%, rgba(248, 250, 252, 0) 100%);
}

.calculator-card {
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
}

.calculator-header {
    background-color: var(--color-primary);
    color: #fff;
    padding: 40px;
    text-align: center;
}

.calculator-header h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 8px;
}

.calculator-header p {
    color: var(--color-gray-300);
    font-size: 0.95rem;
}

.calculator-body {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 768px) {
    .calculator-body {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 24px;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-gray-700);
    background-color: #fff;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 208, 132, 0.15);
}

/* Results panel inside calculator */
.calculator-result {
    background-color: var(--color-gray-100);
    border-radius: var(--border-radius-md);
    padding: 30px;
    border: 1px dashed var(--color-gray-300);
    text-align: center;
}

.result-badge {
    background-color: var(--color-primary);
    color: #fff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.result-frequency {
    font-size: 2.25rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-secondary-dark);
    margin-bottom: 12px;
}

.result-text {
    font-size: 0.85rem;
    color: var(--color-gray-500);
    margin-bottom: 20px;
}

.result-offer {
    background-color: rgba(239, 185, 69, 0.1);
    border: 1px solid rgba(239, 185, 69, 0.3);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    text-align: left;
}

.offer-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent-dark);
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.offer-desc {
    font-size: 0.85rem;
    color: var(--color-primary);
    line-height: 1.4;
}

/* ==========================================================================
   URGENCY / INCENTIVE SECTION
   ========================================================================== */
.urgency-section {
    padding: 80px 0;
    background-color: var(--color-primary);
    background-image: radial-gradient(ellipse at 50% 50%, rgba(0, 208, 132, 0.15) 0%, rgba(10, 37, 64, 0) 70%);
}

.urgency-cta-box {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.phone-link-text {
    font-size: 0.95rem;
    color: var(--color-gray-300);
}

.phone-link-text strong {
    color: var(--color-accent);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-gray-300);
    padding: 60px 0 40px 0;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-bottom: 24px;
    color: var(--color-gray-500);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    color: var(--color-gray-300);
}

.footer-socials a:hover {
    background-color: var(--color-secondary);
    color: #fff;
    transform: scale(1.1);
}

.footer-divider {
    height: 1px;
    background-color: rgba(255,255,255,0.05);
    margin: 0 auto 24px auto;
    max-width: 600px;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

/* ==========================================================================
   FLOATING WHATSAPP CTA
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Official WhatsApp green */
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #20ba5a;
}

.floating-whatsapp .tooltip-text {
    visibility: hidden;
    position: absolute;
    right: 75px;
    background-color: var(--color-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: var(--box-shadow-md);
}

.floating-whatsapp:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    .floating-whatsapp .tooltip-text {
        display: none; /* Hide tooltips on small mobile */
    }
}
