/* Base Design System */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('cleaning_hero_background_1772035419661.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1.4s ease;
}

.hero .btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Services Section */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--primary);
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* About Section with Image */
.about {
    background: var(--bg-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Conócenos Section */
.know-us {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0;
}

.know-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.know-us-col h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.know-us-col p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.guarantee-list {
    list-style: none;
    padding: 0;
}

.guarantee-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.guarantee-list li::before {
    content: "–";
    position: absolute;
    left: 0;
}

.partner-carousel-wrapper {
    margin-top: 60px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 70px;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 40px;
    align-items: center;
}

.carousel-item {
    min-width: calc(25% - 30px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carousel-item img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.carousel-nav {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

@media (max-width: 1200px) {
    .carousel-item {
        min-width: calc(33.33% - 27px);
    }

    .carousel-item img {
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    .know-us-grid {
        grid-template-columns: 1fr;
    }

    .carousel-item {
        min-width: calc(50% - 20px);
    }

    .partner-carousel-wrapper {
        padding: 0 50px;
    }

    .carousel-item img {
        max-width: 180px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        min-width: 100%;
    }
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-info h3 {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.contact-info p {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.contact-list {
    display: contents;
}

.contact-list li {
    margin-bottom: 0 !important;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-list li i {
    font-size: 1.5rem;
    margin-right: 0 !important;
}

.contact-form {
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

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

@media (max-width: 992px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 25px;
    }
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-services {
    margin-top: 40px;
    border-top: 1px solid #f3f4f6;
    padding-top: 40px;
}

.form-services .main-label {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

.service-category {
    margin-bottom: 40px;
}

.category-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    background: var(--bg-light);
    padding: 10px 15px;
    border-radius: 8px;
    transition: var(--transition);
}

.checkbox-group label:hover {
    background: #e5e7eb;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: #111827;
    color: var(--white);
    padding: 80px 20px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info h4 {
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}