:root {
    --color-primary: #1b4d3e;
    --color-primary-dark: #113328;
    --color-primary-light: #2e7d65;
    --color-text: #2c3e50;
    --color-bg: #f8fafc;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.logo span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 600;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    color: #475569;
    transition: var(--transition);
}

nav a:hover, nav li.active a {
    color: var(--color-primary);
}

.phone-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition);
}

.phone-btn:hover {
    background-color: var(--color-primary-dark);
}

/* Main Container - Ancho optimizado para PC */
.main-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

/* Article Card */
.article-card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    overflow: hidden;
    margin-bottom: 2rem;
}

.article-header {
    padding: 2.5rem 2.5rem 1.5rem 2.5rem;
    border-bottom: 1px solid var(--color-border);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    background-color: rgba(27, 77, 62, 0.1);
    color: var(--color-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.call-link {
    color: #e11d48;
    background-color: #fff1f2;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--transition);
}

.call-link:hover {
    background-color: #ffe4e6;
}

h1.entry-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.post-thumbnail {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background-color: #0f172a;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-thumbnail img:hover {
    transform: scale(1.03);
}

.entry-content {
    padding: 2.5rem;
}

.excerpt {
    font-size: 1.1rem;
    color: #334155;
    background-color: var(--color-bg);
    border-left: 4px solid var(--color-primary);
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 2rem;
}

blockquote {
    font-style: italic;
    font-size: 1.15rem;
    color: #1e293b;
    text-align: center;
    padding: 1.5rem 0;
    margin: 2rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

h2::before {
    content: '';
    width: 6px;
    height: 24px;
    background-color: var(--color-primary);
    border-radius: 4px;
}

.entry-content p {
    margin-bottom: 1.25rem;
    color: #475569;
    line-height: 1.7;
}

/* Company Box */
.company-box {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--color-border);
    text-align: center;
}

.company-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.company-box span {
    color: #64748b;
    font-size: 0.95rem;
    display: block;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #1e293b;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #1e293b;
}

.widget-title {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-content p, .footer-content li, .footer-content a {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: block;
    color: #94a3b8;
    transition: var(--color);
}

.footer-content a:hover {
    color: var(--color-white);
}

.footer-content ul {
    list-style: none;
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.footer-gallery img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    background-color: #1e293b;
    transition: opacity 0.2s;
}

.footer-gallery img:hover {
    opacity: 0.8;
}

.bottom-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.bottom-social {
    display: flex;
    gap: 1rem;
}

.bottom-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.bottom-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.copyright {
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
    }
    .header-container {
        padding: 1rem;
    }
    .phone-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    .article-header, .entry-content {
        padding: 1.5rem;
    }
    h1.entry-title {
        font-size: 1.75rem;
    }
}