/* Resets básicos y fuentes */
body, h1, h2, h3, p, ul, li, form, button, input, label {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html { scroll-behavior: smooth; }
body { line-height: 1.6; color: #212529; background-color: #f0f2f5; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* Header */
header { background-color: #0c2340; color: #FFFFFF; padding: 1rem 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
header .container { display: flex; justify-content: space-between; align-items: center; }
header .logo { display: flex; align-items: center; }
header .logo img { height: 40px; margin-right: 10px; }
header .logo span { font-size: 1.5rem; font-weight: bold; }
.header-actions { display: flex; align-items: center; }
.btn-header { padding: 8px 18px; border-radius: 5px; text-decoration: none; font-weight: bold; font-size: 0.9rem; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; margin-left: 15px; line-height: 1.5; }
.btn-area-clientes { background-color: #28a745; color: #FFFFFF; border: 1px solid #28a745; }
.btn-area-clientes:hover { background-color: #218838; border-color: #1e7e34; color: #FFFFFF; }

/* Hero Section */
#hero { background-color: #0056b3; color: #FFFFFF; padding: 60px 0; text-align: center; }
#hero h1 { font-size: 2.8rem; margin-bottom: 15px; }
#hero p { font-size: 1.2rem; }

/* Secciones Generales */
section { padding: 50px 0; }
section:nth-child(odd) { background-color: #FFFFFF; }
h2 { font-size: 2.2rem; color: #0c2340; margin-bottom: 30px; text-align: center; }

/* Información del Reporte Mejorada */
#informacion-reporte { background-color: #FFFFFF; }
#informacion-reporte h2 { margin-bottom: 15px; }
#informacion-reporte .intro-reporte { text-align: center; font-size: 1.1rem; color: #6c757d; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.grid-info-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.info-item-card { background-color: #0056b3; color: #FFFFFF; padding: 25px 20px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.info-item-card:hover { transform: translateY(-5px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); }
.info-item-card.afip-card { background-color: #0c2340; }
.info-item-card.comercial-card { background-color: #007bff; }
.info-item-card.judicial-card { background-color: #f8f9fa; color: #0c2340; border: 1px solid #d4d9df; }
.info-item-card.judicial-card h3 { color: #0056b3; border-bottom-color: rgba(0, 86, 179, 0.2); }
.info-item-card h3 { font-size: 1.3rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); font-weight: 600; }
.info-item-card ul { list-style: none; padding-left: 0; margin-top: 0; flex-grow: 1; }
.info-item-card ul li { margin-bottom: 8px; font-size: 0.9rem; line-height: 1.4; padding-left: 20px; position: relative; }
.info-item-card ul li::before { content: '✓'; color: #a7f5ba; position: absolute; left: 0; font-weight: bold; }
.info-item-card.judicial-card ul li::before { color: #28a745; }

/* Grid de Planes de Servicio */
.grid-planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 20px; }
.plan-card { background-color: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 8px; padding: 25px; text-align: center; box-shadow: 0 4px 8px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; }
.plan-card:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(0,0,0,0.1); }
.plan-card.popular { border-top: 5px solid #28a745; }
.plan-card h3 { font-size: 1.6rem; color: #0056b3; margin-bottom: 15px; }
.plan-card .precio { margin-bottom: 20px; }
.plan-card .precio-actual { display: block; font-size: 2rem; font-weight: bold; color: #0c2340; }
.plan-card .precio-regular { display: block; font-size: 0.9rem; color: #6c757d; text-decoration: line-through; margin-top: 5px; }
.plan-card .ahorro { display: inline-block; background-color: #e67e22; color: white; padding: 3px 8px; font-size: 0.8rem; border-radius: 4px; margin-top: 8px; font-weight: bold; }
.plan-card .caracteristicas { list-style: none; padding: 0; margin-bottom: 25px; text-align: left; flex-grow: 1; }
.plan-card .caracteristicas li { margin-bottom: 10px; font-size: 0.9rem; padding-left: 20px; position: relative; }
.plan-card .caracteristicas li::before { content: '✓'; color: #28a745; position: absolute; left: 0; font-weight: bold; }

/* Formularios */
#contacto-servicio { background-color: #f0f2f5; }
.formulario-seccion h2 { margin-bottom: 20px; }
.formulario-seccion p { text-align: center; margin-bottom: 20px; color: #6c757d; }
form { max-width: 600px; margin: 0 auto; background-color: #f8f9fa; padding: 30px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #333; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"] { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.form-group input[readonly] { background-color: #e9ecef; cursor: not-allowed; }
.radio-group { display: flex; align-items: center; }
.radio-group input[type="radio"] { margin-right: 5px; }
.radio-group label { margin-right: 20px; font-weight: normal; }

/* Estilos para mensajes en formularios */
.mensaje-formulario { padding: 15px; margin-bottom: 20px; border-radius: 5px; text-align: center; font-weight: bold; }
.mensaje-formulario.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.mensaje-formulario.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }

/* Botones */
.btn-principal, .plan-card button { display: inline-block; background-color: #28a745; color: #FFFFFF; padding: 12px 25px; border: none; border-radius: 5px; font-size: 1rem; font-weight: bold; text-decoration: none; cursor: pointer; transition: background-color 0.3s ease; width: 100%; margin-top: 10px; }
.plan-card button { margin-top: auto; }
.btn-principal:hover, .plan-card button:hover { background-color: #218838; }

/* Footer */
footer { background-color: #0c2340; color: #bdc3c7; text-align: center; padding: 25px 0; margin-top: 40px; }
footer p { margin-bottom: 5px; font-size: 0.9rem; }
footer a { color: #ecf0f1; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Thank you pages */
.thankyou-page { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 80vh; text-align: center; padding: 20px; }
.thankyou-page h1 { color: #28a745; margin-bottom: 20px; }
.thankyou-page p { font-size: 1.1rem; margin-bottom: 10px; }
.thankyou-page .request-id { font-weight: bold; color: #0056b3; font-size: 1.3rem; }
.thankyou-page a.btn-back { display: inline-block; background-color: #0056b3; color: #FFFFFF; padding: 10px 20px; border-radius: 5px; text-decoration: none; margin-top: 30px; font-weight: bold; }
.thankyou-page a.btn-back:hover { background-color: #004494; }

/* Responsive */
@media (max-width: 768px) {
    header .container { flex-direction: column; text-align: center; }
    header .logo { margin-bottom: 10px; }
    .header-actions { margin-top: 10px; }
    #hero h1 { font-size: 2.2rem; }
    #hero p { font-size: 1rem; }
    .grid-info-items { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .grid-planes { grid-template-columns: 1fr; }
    form { padding: 20px; }
}
@media (max-width: 480px) {
    h2 { font-size: 1.8rem; }
    .grid-info-items { grid-template-columns: 1fr; }
    .info-item-card { padding: 20px 15px; }
    .info-item-card h3 { font-size: 1.2rem; }
    .info-item-card ul li { font-size: 0.85rem; }
}