:root {
    --primary: #2c3e50;
    --secondary: #bdc3c7;
    --accent: #3498db;
    --text: #333;
    --light: #f4f7f6;
    --white: #ffffff;
    --success: #25d366;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
}

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

/* Ticker */
.ticker-wrapper {
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    font-size: 0.9rem;
}

.ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 35px; /* Height of ticker */
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 50px 0;
    background: var(--light);
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--accent); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-light { background: var(--white); color: var(--primary); }
.btn-sm { padding: 5px 15px; font-size: 0.8rem; }

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 60px;
    color: var(--primary);
}

/* CTA */
.cta {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta h2 { font-size: 2.5rem; margin-bottom: 10px; }
.cta p { margin-bottom: 30px; }

/* Footer */
footer {
    background: #1a252f;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

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

.footer-info p { margin-top: 15px; font-size: 0.9rem; }
.social-icons { margin-top: 20px; }
.social-icons a { color: var(--white); font-size: 1.5rem; margin-right: 15px; }

.footer-links h4, .footer-legal h4, .footer-contact h4 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-links ul, .footer-legal ul { list-style: none; }
.footer-links li, .footer-legal li { margin-bottom: 10px; }
.footer-links a, .footer-legal a { color: #bdc3c7; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover, .footer-legal a:hover { color: var(--white); }

.footer-contact p { margin-bottom: 10px; font-size: 0.9rem; }
.footer-contact i { margin-right: 10px; color: var(--accent); }

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 0.8rem;
}

/* Floats */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 999;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1002;
    transform: translateY(100%);
    transition: transform 0.5s;
}

.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-image { display: none; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .cookie-banner { flex-direction: column; gap: 10px; text-align: center; }
}

/* Generic Pages Content */
.page-content { padding: 60px 0; min-height: 60vh; }
.page-content h1 { margin-bottom: 30px; color: var(--primary); }
.page-content section { margin-bottom: 40px; }
.legal-content { line-height: 1.8; }
.legal-content h2 { margin: 30px 0 15px; font-size: 1.5rem; color: var(--primary); border-left: 4px solid var(--accent); padding-left: 15px; }

/* Contact Form */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { background: var(--light); padding: 30px; border-radius: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; }
.map-container { min-height: 400px; background: #eee; border-radius: 10px; }