/* Importa tu fuente principal si no está ya en style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* Colores de tu tema principal (ajusta si son diferentes en tu style.css) */
:root {
    --primary-color: #003366; /* Azul Oscuro */
    --secondary-color: #0055a5; /* Azul Medio */
    --accent-color: #00b2ff; /* Azul Claro/Cian */
    --text-color-dark: #1a1a1a;
    --text-color-light: #f5f7fa;
    --bg-light: #f5f7fa;
    --bg-medium: #eef2f7;
    --success-color: #28a745; /* Verde para éxito */
    --error-color: #dc3545; /* Rojo para error */
    --border-radius-lg: 16px;
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif; /* Consistencia con el principal */
    margin: 0;
    background-color: var(--bg-light);
    color: var(--text-color-dark);
    line-height: 1.6;
}

/* --- Header de la Landing Page --- */
.lp-header {
    background-color: white; /* Header blanco para más claridad */
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.lp-logo-titulo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lp-logo {
    height: 45px;
    width: 45px;
    border-radius: 10px;
}

.lp-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.lp-back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lp-back-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Hero Section --- */
.lp-hero {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.5)), url('https://images.unsplash.com/photo-1581090700227-1e8e0651a5e3?auto=format&fit=crop&w=1920&q=80'); /* Imagen de fondo más grande y con overlay */
    background-size: cover;
    background-position: center;
    padding: 8rem 2rem; /* Más espacio */
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Altura mínima para impacto */
    position: relative;
    overflow: hidden; /* Para asegurar que nada se desborde */
}

.lp-hero-content {
    max-width: 900px;
    z-index: 1; /* Asegura que el contenido esté sobre el overlay */
}

.lp-hero h1 {
    font-size: 3.8rem; /* Más grande y llamativo */
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800; /* Extra bold */
    color: white; /* Asegura color blanco */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Sutil sombra de texto */
}

.lp-hero p {
    font-size: 1.4rem; /* Más legible */
    max-width: 800px;
    margin: auto;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 400;
}

.lp-btn-primary {
    margin-top: 3rem;
    display: inline-flex; /* Para alinear ícono y texto */
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem; /* Más grande y destacado */
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 50px; /* Borde más redondeado, estilo "pill" */
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.lp-btn-primary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.lp-btn-primary i {
    font-size: 1.5rem;
}

/* --- Secciones Generales --- */
.lp-section {
    padding: 5rem 2rem; /* Consistent padding */
    max-width: 1200px;
    margin: 0 auto;
}

.lp-section-title {
    text-align: center;
    font-size: 2.5rem; /* Títulos de sección más grandes */
    margin-bottom: 3rem; /* Más espacio */
    color: var(--primary-color);
    font-weight: 700;
}

/* --- Features Grid --- */
.lp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Más flexible */
    gap: 2.5rem; /* Más espacio */
    padding: 0 2rem; /* Padding horizontal */
}

.lp-card {
    background: white;
    border-radius: var(--border-radius-lg); /* Hereda de root */
    padding: 2.5rem; /* Más padding */
    box-shadow: var(--shadow-md); /* Hereda de root */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Centrar contenido */
    border: 1px solid #e0e0e0; /* Borde sutil */
}

.lp-card:hover {
    transform: translateY(-8px); /* Más desplazamiento */
    box-shadow: var(--shadow-lg); /* Sombra más fuerte */
}

.lp-feature-icon {
    font-size: 3.5rem; /* Íconos grandes */
    color: var(--accent-color); /* Color vibrante */
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.lp-card:hover .lp-feature-icon {
    transform: scale(1.1); /* Efecto al pasar el mouse */
}

.lp-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.lp-card p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
}

/* --- Testimonial Section --- */
.lp-testimonial-section {
    background-color: var(--bg-medium); /* Fondo ligeramente diferente */
    padding: 6rem 2rem;
}

.lp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.lp-testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    text-align: center; /* Centrar contenido de testimonio */
}

.lp-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
}

.lp-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrar autor */
    gap: 1rem;
    margin-top: 1.5rem;
}

.lp-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.lp-author-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.lp-stars {
    color: gold;
    font-size: 1.1rem;
}

/* --- Form Section --- */
.lp-form-section {
    padding-top: 4rem; /* Ajustar padding superior */
    padding-bottom: 6rem; /* Más padding inferior */
}

.lp-form-description {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: -2rem auto 2.5rem auto; /* Ajusta margen para el p */
    line-height: 1.6;
}

.lp-contact-form {
    background: white;
    padding: 3.5rem; /* Más padding interno */
    max-width: 700px;
    margin: 2rem auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg); /* Sombra más destacada */
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* Espacio entre campos */
    border: 1px solid #e0e0e0;
}

.lp-contact-form input,
.lp-contact-form textarea,
.lp-contact-form select {
    width: 100%;
    padding: 1.1rem 1.2rem; /* Más padding y espacio horizontal */
    margin-bottom: 0.5rem; /* Ajusta margen inferior */
    border: 1px solid #ddd;
    border-radius: 10px; /* Más redondeado */
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-color-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lp-contact-form input:focus,
.lp-contact-form textarea:focus,
.lp-contact-form select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(0, 178, 255, 0.2); /* Sombra de enfoque más visible */
    outline: none;
}

.lp-contact-form textarea {
    min-height: 140px; /* Altura mínima para textarea */
    resize: vertical;
}

.lp-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #555;
    margin-top: 0.5rem;
    cursor: pointer;
}

.lp-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    flex-shrink: 0; /* Evita que el checkbox se encoja */
}

.lp-btn-submit {
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.lp-btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Mensajes de Formulario (usando los estilos de tu style.css principal) */
.lp-form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lp-success-message {
    background-color: #d4edda;
    color: var(--success-color);
    border: 1px solid #c3e6cb;
}

.lp-error-message {
    background-color: #f8d7da;
    color: var(--error-color);
    border: 1px solid #f5c6cb;
}

/* --- Footer --- */
.lp-footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2.5rem;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.lp-footer p {
    margin: 0;
}

.lp-social-links {
    margin-top: 1rem;
}

.lp-social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lp-social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}


/* --- Responsive Adjustments for Landing Page --- */
@media (max-width: 992px) {
    .lp-hero h1 {
        font-size: 3rem;
    }
    .lp-hero p {
        font-size: 1.2rem;
    }
    .lp-section-title {
        font-size: 2.2rem;
    }
    .lp-features-grid, .lp-testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 2rem;
    }
    .lp-card, .lp-testimonial-card, .lp-contact-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .lp-header {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 1rem;
    }
    .lp-page-title {
        font-size: 1.3rem;
    }
    .lp-hero {
        padding: 6rem 1.5rem;
        min-height: 400px;
    }
    .lp-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .lp-hero p {
        font-size: 1.1rem;
    }
    .lp-btn-primary {
        padding: 1rem 2rem;
        font-size: 1.1rem;
        margin-top: 2rem;
    }
    .lp-section {
        padding: 4rem 1.5rem;
    }
    .lp-section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    .lp-features-grid, .lp-testimonials-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
    }
    .lp-card, .lp-testimonial-card {
        padding: 1.8rem;
    }
    .lp-feature-icon {
        font-size: 3rem;
    }
    .lp-card h3 {
        font-size: 1.6rem;
    }
    .lp-card p {
        font-size: 1rem;
    }
    .lp-form-description {
        font-size: 1.1rem;
        margin: -1.5rem auto 2rem auto;
    }
    .lp-contact-form {
        padding: 2rem;
    }
    .lp-contact-form input,
    .lp-contact-form textarea,
    .lp-contact-form button {
        padding: 0.9rem;
        font-size: 1rem;
    }
    .lp-btn-submit {
        font-size: 1.1rem;
    }
    .lp-footer {
        padding: 2rem 1.5rem;
    }
    .lp-social-links a {
        font-size: 1.3rem;
        margin: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .lp-hero h1 {
        font-size: 2rem;
    }
    .lp-hero p {
        font-size: 0.95rem;
    }
    .lp-btn-primary {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
        gap: 0.5rem;
    }
    .lp-section-title {
        font-size: 1.8rem;
    }
    .lp-contact-form {
        padding: 1.5rem;
    }
}
