/* --- Variables y Estilos Generales --- */
:root {
    --primary-color: #005f73; /* Un azul verdoso profesional y calmado */
    --secondary-color: #0a9396; /* Un turquesa para acentos */
    --text-color: #333;
    --bg-color: #f4f4f4;
    --white-color: #ffffff;
    --heading-font: 'Georgia', serif;
    --body-font: 'Arial', sans-serif;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    background-color: var(--bg-color);
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* --- Encabezado y Navegación --- */
.main-header {
    background: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--heading-font);
}

.logo span {
    color: var(--secondary-color);
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--secondary-color);
}

/* --- Sección Hero (Principal) --- */
.hero {
    background: linear-gradient(rgba(0, 95, 115, 0.7), rgba(0, 95, 115, 0.7)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?q=80&w=2070') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    font-family: var(--heading-font);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-button {
    background: var(--secondary-color);
    color: var(--white-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: #007f86;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.cta-button.secondary:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* --- Previsualización de Servicios --- */
.services-preview, .about-us-preview {
    padding: 60px 0;
    text-align: center;
}
.about-us-preview {
    background-color: var(--white-color);
}

.services-preview h2, .about-us-preview h2 {
    font-size: 2.5rem;
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: left;
}

.service-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.link-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

/* --- Pie de Página --- */
.main-footer {
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
}

/* --- Botón Flotante de WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}