/* CSS Variables - Design System */
:root {
    --background: hsl(0, 0%, 98%);
    --foreground: hsl(220, 15%, 25%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(220, 15%, 25%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(220, 15%, 25%);
    --primary: hsl(237, 97%, 13%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(210, 25%, 92%);
    --secondary-foreground: hsl(220, 15%, 25%);
    --muted: hsl(210, 25%, 95%);
    --muted-foreground: hsl(220, 15%, 55%);
    --accent: hsl(210, 25%, 92%);
    --accent-foreground: hsl(220, 15%, 25%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 98%);
    --border: hsl(210, 25%, 90%);
    --input: hsl(210, 25%, 90%);
    --ring: hsl(220, 15%, 25%);
    --whatsapp: hsl(142, 70%, 49%);
    --whatsapp-foreground: hsl(0, 0%, 100%);
    --whatsapp-hover: hsl(142, 70%, 45%);
    --service-bg: hsl(0, 0%, 100%);
    --service-border: hsl(210, 25%, 88%);
    --radius: 0.75rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

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

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

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

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--whatsapp-foreground);
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s;
    background-color: transparent;
}

.nav.scrolled {
    background-color: hsla(var(--background), 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    padding: 0 1rem;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 3rem;
    width: 3rem;
}

.logo-text {
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--foreground);
}

.desktop-menu {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    color: var(--foreground);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    font-size: 1rem;
}

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

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background-color: hsla(var(--background), 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    color: var(--foreground);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    color: var(--whatsapp);
    background-color: hsla(var(--secondary), 0.5);
}

/* Header */
.header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background) 0%, hsla(var(--secondary), 0.5) 100%);
}

.header-container {
    text-align: center;
}

.header-content {
    max-width: 64rem;
    margin: 0 auto;
}

.header-title {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .header-title {
        font-size: 3.75rem;
    }
}

.header-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .header-subtitle {
        font-size: 1.5rem;
    }
}

.header-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .header-buttons {
        flex-direction: row;
    }
}

/* Services */
.services {
    padding: 5rem 0;
    background-color: hsla(var(--secondary), 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background-color: var(--service-bg);
    border: 1px solid var(--service-border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-content {
    padding: 1.5rem;
    text-align: center;
}

.service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    width: 2rem;
    height: 2rem;
    color: var(--whatsapp);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.4;
}

.service-area {
    text-align: center;
    margin-top: 3rem;
}

.area-info {
    background-color: hsla(var(--whatsapp), 0.1);
    border: 1px solid hsla(var(--whatsapp), 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 28rem;
    margin: 0 auto;
}

.area-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.area-description {
    color: var(--muted-foreground);
}

/* About */
.about {
    padding: 5rem 0;
    background-color: var(--background);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.highlight-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: box-shadow 0.3s;
}

.highlight-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.highlight-content {
    padding: 1.5rem;
}

.highlight-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.highlight-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--whatsapp);
}

.highlight-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.highlight-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.features-section {
    background-color: hsla(var(--secondary), 0.5);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .features-section {
        padding: 3rem;
    }
}

.features-content {
    max-width: 64rem;
    margin: 0 auto;
}

.features-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1.5rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-item i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--whatsapp);
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item p {
    color: var(--foreground);
}

.portfolio-section {
    text-align: center;
}

.portfolio-placeholder {
    background-color: var(--muted);
    border: 2px dashed var(--border);
    border-radius: 0.75rem;
    padding: 3rem;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.portfolio-description {
    color: var(--muted-foreground);
}

/* Contact */
.contact {
    padding: 5rem 0;
    background-color: hsla(var(--secondary), 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.contact-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.contact-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.contact-content {
    padding: 1.5rem;
    text-align: center;
}

.contact-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon i {
    width: 2rem;
    height: 2rem;
    color: var(--whatsapp);
}

.contact-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-info {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.contact-cta {
    background-color: hsla(var(--whatsapp), 0.1);
    border: 1px solid hsla(var(--whatsapp), 0.2);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    max-width: 32rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.cta-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 2.5rem;
    width: 2.5rem;
    background-color: white;
    border-radius: 4px;
    padding: 4px;
}

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

.footer-description {
    color: hsla(var(--primary-foreground), 0.8);
    line-height: 1.4;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    color: hsla(var(--primary-foreground), 0.8);
    margin-bottom: 0.5rem;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact-item i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--whatsapp);
}

.footer-contact-item span {
    color: hsla(var(--primary-foreground), 0.8);
}

.footer-bottom {
    border-top: 1px solid hsla(var(--primary-foreground), 0.2);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: hsla(var(--primary-foreground), 0.6);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
}

.whatsapp-btn {
    background-color: var(--whatsapp);
    color: var(--whatsapp-foreground);
    border: none;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background-color: var(--whatsapp-hover);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
    animation: none;
}

.whatsapp-btn i {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .section-header {
        margin-bottom: 2rem;
    }
    
    .features-section {
        padding: 1.5rem;
    }
    
    .contact-cta {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}