/* Variables de diseño */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --background-light: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Header */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo y slogan */
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 120px;
    height: auto;
}

.slogan {
    color: var(--text-dark);
    font-size: 1em;
    font-weight: 400;
    margin: 0;
}

/* Menú de navegación */
.menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover,
.menu a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Botón principal */
.btn-primary {
    background-color: #ffffff;
    color: #007bff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Sección de servicios */
.services-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-title p {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Estilos para las cards de servicios */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2em;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 280px;
}

/* Estilos para la sección de contacto */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.contact-method {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-text h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin: 10px 0;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Estilos para el formulario de contacto */
.contact-form {
    max-width: 600px;
    margin: 60px auto 0;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

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

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.form-group button:hover {
    background-color: #0056b3;
}

/* Cards de servicios */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2em;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.5em;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Sección de contacto */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-method {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-icon {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-text h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Formulario de contacto */
.contact-form {
    max-width: 600px;
    margin: 60px auto 0;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

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

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.form-group button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #007bff;
    color: white;
    padding: 60px 0 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 200px;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    text-align: center;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5em;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

    .menu {
        display: none;
    }
}
