:root {
    --primary: #1a237e;
    --secondary: #0d47a1;
    --accent: #2196f3;
    --text: #424242;
    --light: #ffffff;
    --gray: #f5f5f5;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text);
    padding-top: 80px;
}

header {
    background: var(--primary);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--light);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}

.hero-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23ffffff10" d="M0 0h100v100H0z"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtext {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 500;
    background: var(--accent);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: var(--secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-content {
    background: var(--light);
    border-radius: 10px;
    box-shadow: 0 4px 6px var(--shadow);
    padding: 2rem;
    margin: 2rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-item {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.company-info {
    background: var(--gray);
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.registry-details {
    font-size: 0.85rem;
    color: #666;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.registry-details h3 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.registry-item {
    margin-bottom: 0.5rem;
}

.registry-item strong {
    color: #444;
}

footer {
    background: var(--primary);
    color: var(--light);
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.cookie-alert {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-alert.show {
    transform: translateY(0);
}

.cookie-alert p {
    margin: 0;
    padding-right: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.accept-cookies {
    background: var(--accent);
    color: white;
}

.reject-cookies {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: var(--light);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-header {
    background: var(--primary);
    color: var(--light);
    padding: 1.5rem;
    text-align: center;
}

.service-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.service-content {
    padding: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray);
    display: flex;
    align-items: center;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features i {
    color: var(--accent);
    margin-right: 0.8rem;
}

.service-cta {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray);
}

.service-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: var(--light);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.service-button:hover {
    background: var(--secondary);
}

.calculator-section {
    background: var(--gray);
    padding: 3rem 0;
    margin: 2rem 0;
}

.calculator-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
}

.calculator-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.calculate-button {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: var(--light);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.calculate-button:hover {
    background: var(--secondary);
}

.result-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--gray);
    border-radius: 5px;
    text-align: center;
    display: none;
}

.result-container.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.result-value {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin: 1rem 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-alert {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-alert p {
        padding-right: 0;
    }
    
    .hero-text {
        font-size: 2rem;
    }
    
    .hero-subtext {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 3rem 1rem;
    }
}
