/* ============================================
   CEDULA-TRAMITESG.COM - DISEÑO 3: MORADO/VIOLETA ELEGANTE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #7c3aed;
    --dark-purple: #6d28d9;
    --light-purple: #a78bfa;
    --accent-violet: #c084fc;
    --text-main: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #faf5ff;
    --bg-gray: #f9fafb;
    --border: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
}

.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.top-nav {
    background-color: var(--primary-purple);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.site-title span {
    color: var(--accent-violet);
}

.menu-items {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-link:hover,
.menu-link.current {
    background-color: var(--dark-purple);
    color: var(--accent-violet);
}

/* Alert Bar */
.alert-bar {
    background-color: #fef3c7;
    border-bottom: 3px solid var(--warning);
    padding: 1rem 0;
}

.alert-bar p {
    text-align: center;
    color: #92400e;
    font-size: 0.95rem;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    padding: 5rem 0;
}

.banner-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
}

.badge-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.main-heading {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.main-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-primary,
.btn-outline,
.btn-light {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: white;
    color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-purple);
}

.btn-light {
    background-color: white;
    color: var(--primary-purple);
}

.btn-light:hover {
    background-color: var(--bg-light);
}

.info-box {
    background: white;
    color: var(--text-main);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.info-box h3 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.feature-row p {
    margin: 0;
    font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-intro {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.section-intro p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-purple);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-list {
    list-style: none;
}

.card-list li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-secondary);
}

.card-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--light-purple);
    font-weight: bold;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: white;
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-side h2 {
    color: var(--primary-purple);
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
}

.content-side > p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.benefit-text h4 {
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

.stats-card {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.stat-item {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-violet);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Process Steps */
.process-steps {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    padding: 4rem 0;
}

.cta-box {
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.main-footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    color: var(--accent-violet);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-block p {
    color: #d1d5db;
    line-height: 1.7;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.6rem;
}

.footer-menu a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--accent-violet);
}

.footer-notice {
    background-color: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.footer-notice p {
    font-size: 0.9rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.6;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copyright p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.banner-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Content Pages */
.content-area {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.content-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-wrapper h3 {
    color: var(--dark-purple);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-wrapper p,
.content-wrapper ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    padding-left: 2rem;
}

.notice-card {
    background-color: #fef3c7;
    border-left: 5px solid var(--warning);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.notice-card h3 {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.notice-card p {
    color: #78350f;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-area {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.form-section,
.info-section {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
}

.form-section h2 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-purple);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--dark-purple);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .menu-items {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .banner-content {
        grid-template-columns: 1fr;
    }

    .main-heading {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 2rem;
    }
}
