/*
Theme Name: LocalDesign Client
Theme URI: https://localdesign.ai
Author: LocalDesign
Author URI: https://localdesign.ai
Description: Landing page one-page optimizada para negocios locales con SEO local
Version: 1.0.0
License: Proprietary
Text Domain: localdesign-client
*/

:root {
    --ld-primary: #2563EB;
    --ld-primary-dark: #1D4ED8;
    --ld-secondary: #1E40AF;
    --ld-text: #1F2937;
    --ld-text-light: #6B7280;
    --ld-bg: #FFFFFF;
    --ld-bg-alt: #F9FAFB;
    --ld-border: #E5E7EB;
    --ld-success: #10B981;
    --ld-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--ld-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ld-text);
    background-color: var(--ld-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ld-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--ld-bg);
    border-bottom: 1px solid var(--ld-border);
    z-index: 1000;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ld-text);
    text-decoration: none;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ld-text);
    font-weight: 500;
}

.header-phone svg {
    width: 20px;
    height: 20px;
    color: var(--ld-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--ld-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--ld-primary-dark);
    text-decoration: none;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    text-decoration: none;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, var(--ld-primary) 0%, var(--ld-secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section.has-image {
    background-size: cover;
    background-position: center;
}

.hero-section.has-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0 0 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.hero-cta .btn-primary {
    background-color: white;
    color: var(--ld-primary);
}

.hero-cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--ld-bg-alt);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 3rem;
    color: var(--ld-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ld-primary);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--ld-text);
}

.service-card p {
    color: var(--ld-text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: var(--ld-text);
}

.about-content p {
    color: var(--ld-text-light);
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(37, 99, 235, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
}

.experience-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ld-primary);
    line-height: 1;
}

.experience-text {
    font-size: 0.875rem;
    color: var(--ld-text-light);
    line-height: 1.3;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--ld-bg-alt);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: var(--ld-text);
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ld-text);
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid var(--ld-border);
    border-radius: 0.5rem;
    background-color: white;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--ld-primary);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    color: var(--ld-text);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ld-primary);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-content strong {
    display: block;
    color: var(--ld-text);
    margin-bottom: 0.25rem;
}

.contact-info-content span,
.contact-info-content a {
    color: var(--ld-text-light);
    font-size: 0.95rem;
}

.contact-whatsapp {
    margin-top: 2rem;
}

.contact-whatsapp .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

/* Footer */
.site-footer {
    background-color: var(--ld-text);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    text-decoration: none;
}

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.2s ease;
}

.footer-social a:hover {
    background-color: var(--ld-primary);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: white;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* Responsive */
@media (max-width: 968px) {
    .about-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .header-phone {
        display: none;
    }
    
    .footer-content,
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
