/* ============================================
   CEDULA-MX-TRAMITESG.COM - DISEÑO 2: VERDE CORPORATIVO
   ============================================ */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #047857;
    --dark-green: #065f46;
    --light-green: #10b981;
    --accent-green: #34d399;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
}

body {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

.wrapper {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--primary-green);
    padding: 1.2rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand h1 {
    color: white;
    font-size: 1.7rem;
    font-weight: 700;
}

.brand span {
    color: var(--accent-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--dark-green);
    color: var(--accent-green);
}

/* Legal Notice */
.legal-notice {
    background-color: #fef3c7;
    border-bottom: 3px solid var(--warning);
    padding: 1rem 0;
}

.legal-notice p {
    text-align: center;
    color: #92400e;
    font-size: 0.95rem;
}

/* Main Hero */
.main-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.lead-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-box {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-green);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.visual-card {
    background: white;
    color: var(--text-primary);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.visual-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Buttons */
.primary-btn,
.secondary-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: white;
    color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.secondary-btn {
    background-color: var(--primary-green);
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: var(--dark-green);
}

/* Featured Services */
.featured-services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.8rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-green);
}

.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-box h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-secondary);
}

.service-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--light-green);
    font-weight: bold;
}

/* Work Process */
.work-process {
    padding: 5rem 0;
    background: white;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    width: 3px;
    height: calc(100% + 20px);
    background: var(--border-color);
}

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(4, 120, 87, 0.3);
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: var(--bg-light);
    padding: 1.8rem;
    border-radius: 10px;
}

.timeline-content h3 {
    color: var(--primary-green);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Key Info */
.key-info {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.info-content h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.info-content h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.info-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.info-checklist {
    list-style: none;
}

.info-checklist li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.info-checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
}

.info-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sidebar-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.advantage-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.advantage-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--light-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.advantage-item h4 {
    color: var(--dark-green);
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.advantage-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: white;
    padding: 4rem 0;
    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;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 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;
}

/* About & Contact Pages */
.about-main,
.contact-main {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.content-box {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    max-width: 1000px;
    margin: 0 auto;
}

.content-box h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-box p,
.content-box ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-box ul {
    padding-left: 2rem;
}

.values-list {
    list-style: none;
    padding-left: 0;
}

.values-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
}

.values-list li:before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--light-green);
    font-size: 1.3rem;
}

.notice-box {
    background-color: #fef3c7;
    border-left: 5px solid var(--warning);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.notice-box p {
    color: #78350f;
    margin-bottom: 1rem;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-area,
.contact-info-area {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-form-area h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.consultation-form {
    margin-top: 2rem;
}

.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-color);
    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-green);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.95rem;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-container a {
    color: var(--primary-green);
    text-decoration: underline;
}

.form-submit-btn {
    width: 100%;
    background-color: var(--primary-green);
    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-btn:hover {
    background-color: var(--dark-green);
}

.info-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail strong {
    display: block;
    color: var(--dark-green);
    margin-bottom: 0.3rem;
}

.contact-detail p {
    color: var(--text-secondary);
    margin: 0.2rem 0;
}

.services-summary {
    list-style: none;
    padding: 0;
}

.services-summary li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.notice-card {
    background-color: #fef3c7;
    border-left: 4px solid var(--warning);
}

.notice-card p {
    color: #78350f;
}

/* Services Detail */
.services-detail {
    padding: 4rem 0;
    background: white;
}

.services-detail h2 {
    text-align: center;
    color: var(--primary-green);
    font-size: 2.3rem;
    margin-bottom: 3rem;
}

.services-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-green);
}

.accordion-item h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.accordion-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p {
    color: #d1d5db;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.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-green);
}

.footer-legal {
    background-color: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.footer-legal p {
    font-size: 0.9rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 2rem;
    }
}
