/* ============================================
   CEDULA-TRAMITES-MX.COM - DISEÑO 4: NARANJA/TERRACOTA CÁLIDO
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #ea580c;
    --dark-orange: #c2410c;
    --light-orange: #fb923c;
    --accent-orange: #fdba74;
    --terracota: #dc2626;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #fff7ed;
    --bg-cream: #fffbeb;
    --border: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

.content-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--primary-orange);
    padding: 1.2rem 0;
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-logo span {
    color: var(--accent-orange);
}

.primary-nav {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    background-color: var(--dark-orange);
    color: var(--accent-orange);
}

/* Notice Bar */
.notice-bar {
    background-color: #fef3c7;
    border-bottom: 3px solid var(--warning);
    padding: 1rem 0;
}

.notice-bar p {
    text-align: center;
    color: #92400e;
    font-size: 0.95rem;
}

/* Hero Main */
.hero-main {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: white;
    padding: 5rem 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tag-badge {
    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;
}

.hero-left h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.point-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-main,
.btn-secondary,
.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-main {
    background-color: white;
    color: var(--primary-orange);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-orange);
}

.btn-light {
    background-color: white;
    color: var(--primary-orange);
}

.btn-light:hover {
    background-color: var(--bg-cream);
}

.highlight-box {
    background: white;
    color: var(--text-primary);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.highlight-box h3 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
}

.highlight-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--light-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Services Overview */
.services-overview {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-head h2 {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.section-head p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.services-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-orange);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.2);
}

.service-visual {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-item h3 {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-points {
    list-style: none;
}

.service-points li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-secondary);
}

.service-points li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--light-orange);
    font-weight: bold;
    font-size: 1.5rem;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background: white;
}

.steps-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 2rem;
}

.step-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    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;
}

.flow-step h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.flow-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--light-orange);
    font-weight: bold;
}

/* Benefits Area */
.benefits-area {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.benefits-split {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-content h2 {
    color: var(--primary-orange);
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
}

.benefits-content > p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.benefit-block {
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 4px solid var(--light-orange);
}

.benefit-block h4 {
    color: var(--dark-orange);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-block p {
    color: var(--text-muted);
    line-height: 1.7;
}

.metrics-card {
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(234, 88, 12, 0.3);
}

.metric {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.metric:last-child {
    border-bottom: none;
}

.metric h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-orange);
}

.metric p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: white;
}

.info-container h2 {
    color: var(--primary-orange);
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
}

.info-container h3 {
    color: var(--dark-orange);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.info-container > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
}

.info-card h4 {
    color: var(--primary-orange);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 100%);
    color: white;
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-disclaimer {
    background-color: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.6;
}

.footer-copy {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-copy p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--dark-orange) 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-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.content-box {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.content-box h2 {
    color: var(--primary-orange);
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-box h3 {
    color: var(--dark-orange);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.content-box p,
.content-box ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-box ul {
    padding-left: 2rem;
}

.warning-box {
    background-color: #fef3c7;
    border-left: 5px solid var(--warning);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.warning-box h3 {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.warning-box p {
    color: #78350f;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.form-container,
.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.1);
}

.form-container h2 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-submit {
    width: 100%;
    background-color: var(--primary-orange);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: var(--dark-orange);
}

/* Responsive */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-nav {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-left h2 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .services-row {
        grid-template-columns: 1fr;
    }

    .steps-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .benefits-split {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 2rem;
    }
}
