/* --- Estilos Generales --- */
:root {
    --primary-color: #007BFF;
    --secondary-color: #28A745;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --white-color: #fff;
    --font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(to bottom, #e7f5ff, #ffffff);
}

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

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; text-align: center; }
p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--primary-color); }

/* --- Botones --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    min-width: 280px;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: #0056b3;
}
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 24px;
    font-size: 1rem;
    min-width: auto;
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.btn-secondary-pro {
    background-color: var(--secondary-color);
    color: var(--white-color);
}
.btn-secondary-pro:hover {
    background-color: #218838;
}

/* --- Header y Navbar --- */
.header {
    background-color: var(--white-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-bottom: none;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo i {
    color: var(--secondary-color);
    font-size: 1.6rem;
}
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}
.nav-menu li {
    margin-left: 0;
}
.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
}
.nav-menu a.btn {
    display: flex;
    align-items: center;
}

/* --- Secciones --- */
section {
    padding: 60px 0;
}
.hero {
    background-color: transparent;
    text-align: center;
    padding: 80px 0;
}
.hero h1 {
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.features, .testimonials, .about-us, .faq, .map-section {
    background-color: var(--white-color);
}
.features {
    border-top: 1px solid #eee;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 3rem;
}
.feature-item {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 8px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}
.testimonial-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.testimonial-card h4 {
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: right;
    font-size: 1rem;
}

.about-us {
    text-align: center;
}
.about-us p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 15px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}
.faq-item h4 {
    margin-bottom: 0.5rem;
}

.map-section {
    padding-bottom: 0;
}
.map-section p {
    text-align: center;
}
.map-responsive {
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 450px;
    margin-top: 2rem;
}
.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 30px 0;
}
/* === ESTILOS AÑADIDOS PARA LOS ENLACES DEL FOOTER === */
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px; /* 10px de espacio vertical, 20px horizontal */
    margin-top: 1rem;
    padding: 0;
}
.footer-links a {
    color: #ccc; /* Un gris claro para que no compita con el copyright */
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--white-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }
    .nav-menu {
        margin-top: 1rem;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

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

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