
/* Estilos generales basados en appxpand.com/services */
:root {
    --primary: #2D6AE3;
    --primary-dark: #1A56C9;
    --secondary: #F3F4F6;
    --text: #1F2937;
    --text-light: #6B7280;
    --accent: #10B981;
    --white: #FFFFFF;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background-color: #FAFAFA;
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - Siguiendo el estilo exacto de appxpand.com */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-button {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background-color 0.3s;
}

.nav-button:hover {
    background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background-color: var(--white);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.hero p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text);
    padding: 14px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #E5E7EB;
}

/* Servicios Section */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid #E5E7EB;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: #EFF6FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 28px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid #F3F4F6;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features i {
    color: var(--accent);
    margin-right: 10px;
}

/* Planes Section */
.plans {
    padding: 80px 0;
    background-color: #F9FAFB;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid #E5E7EB;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F3F4F6;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.plan-price span {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.plan-description {
    color: var(--text-light);
    font-size: 14px;
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.plan-features li {
    padding: 12px 0;
    color: var(--text);
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    margin-right: 12px;
    width: 20px;
}

.fa-check-circle {
    color: var(--accent);
}

.fa-times-circle {
    color: #EF4444;
}

.plan-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: auto;
}

.plan-button:hover {
    background-color: var(--primary-dark);
}

/* Contacto Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: #EFF6FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
    font-size: 14px;
}

/* Formulario de Contacto */
.contact-form {
    background-color: #F9FAFB;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: var(--radius);
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 227, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.select-service {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.footer {
    background-color: var(--text);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #374151;
    color: #9CA3AF;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .plan-card.popular {
        transform: none;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .services, .plans, .contact {
        padding: 60px 0;
    }
    
    .service-card, .plan-card {
        padding: 24px;
    }
    
    .contact-form {
        padding: 24px;
    }
  }

  /* Añade estos estilos al CSS existente */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #D1FAE5;
    color: var(--success);
    border: 1px solid #A7F3D0;
}

.form-message.error {
    background-color: #FEE2E2;
    color: var(--error);
    border: 1px solid #FECACA;
}

.form-message.info {
    background-color: #DBEAFE;
    color: var(--primary);
    border: 1px solid #BFDBFE;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label {
    font-size: 14px;
    color: var(--text);
}

.form-check-label a {
    color: var(--primary);
    text-decoration: underline;
}

/* Estilos para el formulario corregido */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #2D6AE3;
    box-shadow: 0 0 0 3px rgba(45, 106, 227, 0.1);
}

.form-control.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.select-service {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.form-check-input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.4;
}

.form-check-label a {
    color: #2D6AE3;
    text-decoration: underline;
    font-weight: 500;
}

.form-check-label a:hover {
    color: #1A56C9;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2D6AE3 0%, #1A56C9 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1A56C9 0%, #1648B0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 106, 227, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.form-message.error {
    display: block;
    background-color: #FEE2E2;
    color: #7F1D1D;
    border: 1px solid #FECACA;
}

.form-message.info {
    display: block;
    background-color: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

/* Estilos para los placeholders */
::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-check {
        flex-wrap: wrap;
    }
}