/* Sitio informativo Abasta - horeca.gt */
:root {
    --green-light: #76BA43;
    --green-dark: #2D7234;
    --orange: #F58220;
    --orange-light: #FFCD22;
    --text: #333;
    --text-muted: #5a5a5a;
    --white: #fff;
    --bg: #f8faf6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: var(--green-dark);
    text-decoration: none;
}

a:hover {
    color: var(--orange);
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(45, 114, 52, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-link img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.btn-portal {
    display: inline-block;
    background: linear-gradient(180deg, var(--orange) 0%, var(--orange-light) 100%);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(245, 130, 32, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-portal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 130, 32, 0.45);
    color: var(--white) !important;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--green-dark) 55%, var(--orange) 100%);
    color: var(--white);
    padding: 80px 24px 100px;
    text-align: center;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 28px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.25;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 32px;
}

.hero .btn-portal {
    font-size: 1.05rem;
    padding: 14px 32px;
}

/* Sections */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px;
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(45, 114, 52, 0.08);
    border-top: 4px solid var(--green-light);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.15rem;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About strip */
.about-strip {
    background: var(--white);
    border-top: 1px solid #e8eee4;
    border-bottom: 1px solid #e8eee4;
}

.about-strip .section {
    padding: 48px 24px;
}

.about-strip p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Contact */
.contact-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(45, 114, 52, 0.08);
    max-width: 500px;
    margin: 0 auto;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-box a {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background: var(--green-dark);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 28px 24px;
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--orange-light);
}

.site-footer a:hover {
    color: var(--white);
}

/* Manual de correo */
.page-hero {
    background: linear-gradient(135deg, var(--green-light) 0%, var(--green-dark) 55%, var(--orange) 100%);
    color: var(--white);
    padding: 56px 24px 64px;
    text-align: center;
}

.page-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.25;
}

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 28px;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.85);
    transition: background 0.2s, transform 0.2s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: var(--white) !important;
}

.section-tight {
    padding-top: 0;
}

code {
    background: #eef5ea;
    color: var(--green-dark);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: Consolas, 'Courier New', monospace;
}

.card p + p {
    margin-top: 10px;
}

.timeline {
    display: grid;
    gap: 20px;
    max-width: 820px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--white);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(45, 114, 52, 0.08);
    border-left: 4px solid var(--orange);
}

.timeline-step {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-item h3 {
    font-size: 1.1rem;
    color: var(--green-dark);
    margin-bottom: 8px;
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.note-box {
    max-width: 820px;
    margin: 32px auto 0;
    padding: 20px 24px;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--orange-light);
    color: var(--text-muted);
    box-shadow: 0 4px 16px rgba(45, 114, 52, 0.06);
    text-align: center;
}

/* Mobile */
@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 56px 20px 72px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-logo {
        max-width: 220px;
    }

    .page-hero {
        padding: 40px 20px 48px;
    }

    .page-hero h1 {
        font-size: 1.45rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
}
