/* css/style.css */
:root {
    --primary-color: #0077b6; /* Azul Corporativo Bieri */
    --secondary-color: #00b4d8; /* Turquesa Agua */
    --accent-color: #90e0ef; /* Azul Claro */
    --text-dark: #333333;
    --text-light: #f8f9fa;
    --bg-light: #ffffff;
    --bg-gray: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.8rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    vertical-align: middle;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    margin-top: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active { opacity: 1; }

.slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active { background: white; transform: scale(1.2); }

.btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

/* Sections General */
section { padding: 5rem 5%; }

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

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 300;
}

.section-title p { color: #666; font-size: 1.1rem; }

/* Grid Layouts */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.card:hover { transform: translateY(-8px); }

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.card-content { padding: 2rem; }

.card-content h3 {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Services List */
.service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.03);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 60px;
}

/* Contact Form */
.contact-form { max-width: 600px; margin: 0 auto; }

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, 
.form-group textarea, 
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: var(--text-light);
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-grid h4 {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 0.6rem; }
.footer-grid a { color: #aaa; text-decoration: none; transition: color 0.3s; }
.footer-grid a:hover { color: white; }

.copyright {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; right: 0;
        background: white;
        width: 100%;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 1rem 0;
    }
    nav ul.active { display: flex; }
    nav ul li { margin: 0.8rem 0; }
    .menu-toggle { display: block; }
    .slide-content h1 { font-size: 2rem; }
    .slide-content p { font-size: 1rem; }
    section { padding: 3rem 5%; }
}