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

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004225;
    --accent-color: #ffd23f;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --white: #ffffff;
    
    --font-brand: 'Tiny5', cursive;
    --font-main: 'Geist Mono', monospace;
    --font-brush: 'Kalam', cursive;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-dark: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-title {
    font-family: var(--font-brand);
    font-size: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(255,107,53,0.1) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ff6b35" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-brand);
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-highlight {
    font-family: var(--font-brush);
    color: var(--primary-color);
    font-size: 4rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    display: inline-block;
    transform: rotate(-2deg);
    text-shadow: 2px 2px 4px rgba(255,107,53,0.3);
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: 4px;
    opacity: 0.7;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
    background: var(--dark-color);
    color: var(--white);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-float {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    animation: float 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.card-float i {
    font-size: 2rem;
    color: var(--primary-color);
}

.card-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.card-2 {
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.card-3 {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.card-4 {
    top: 15%;
    right: 35%;
    animation-delay: 3s;
}

.card-5 {
    bottom: 25%;
    right: 25%;
    animation-delay: 4s;
}

.card-6 {
    bottom: 10%;
    left: 40%;
    animation-delay: 5s;
}

.card-7 {
    top: 45%;
    left: 25%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-15px) rotate(1deg); }
}

/* Services Overview */
.services-overview {
    padding: 6rem 0;
    background: var(--white);
}

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

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--light-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

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

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

.service-card h3 {
    font-family: var(--font-brand);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: var(--gray-color);
    line-height: 1.8;
}

/* Local Business Section */
.local-business {
    padding: 4rem 0;
    background: var(--light-color);
}

.local-business .container {
    text-align: center;
}

.local-icon {
    display: inline-block;
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.local-text {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: var(--light-color);
}

.pricing .container {
    max-width: 1600px;
}

.section-title {
    font-family: var(--font-brand);
    font-size: 3rem;
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    justify-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
}

.pricing-card.featured {
    transform: scale(1.05);
    background: var(--gradient-primary);
    color: var(--white);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

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

.pricing-card.featured:hover {
    transform: translateY(-5px) scale(1.05);
}

.pricing-header h3 {
    font-family: var(--font-brand);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-subtitle {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    opacity: 0.7;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card.featured .pricing-features li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-card.featured .pricing-features li::before {
    color: var(--accent-color);
}

.btn-pricing {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

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

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Detailed Services */
.detailed-services {
    padding: 6rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-category {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.service-category h3 {
    font-family: var(--font-brand);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-category ul {
    list-style: none;
}

.service-category li {
    padding: 0.5rem 0;
    color: var(--gray-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Projects */
.projects {
    padding: 6rem 0;
    background: var(--light-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    font-size: 1.2rem;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.project-placeholder {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.project-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    opacity: 0.8;
}

.project-placeholder h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-family: var(--font-brand);
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-placeholder p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-color);
}

/* Contact */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text h2 {
    font-family: var(--font-brand);
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text p {
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-form {
    background: var(--light-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: var(--white);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
}

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

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

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

.footer-brand h3 {
    font-family: var(--font-brand);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-links h4,
.footer-policies h4,
.footer-empresa h4,
.footer-contact h4 {
    font-family: var(--font-brand);
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul,
.footer-policies ul,
.footer-empresa ul {
    list-style: none;
}

.footer-links a,
.footer-policies a,
.footer-empresa a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-policies a:hover,
.footer-empresa a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        padding-bottom: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-highlight {
        font-size: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .services-overview .container {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .price {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        font-size: 2.5rem;
    }

    .price span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-highlight {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .price {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        font-size: 2rem;
    }

    .price span {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 2rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-family: var(--font-brand);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cookie-text p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--secondary-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cookie-accept {
    background: var(--gradient-primary);
    color: var(--white);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cookie-reject {
    background: transparent;
    color: var(--dark-color);
    border: 2px solid var(--gray-color);
}

.cookie-reject:hover {
    background: var(--gray-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsappJump 6s ease-in-out infinite;
    animation-delay: 1s;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    line-height: 1;
}

@keyframes whatsappJump {
    0%, 5%, 10%, 100% {
        transform: translateY(0);
    }
    7.5% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}