.hero {
    position: relative;
    display: flex;
    min-height: 85vh;
    background-image: url('/images/home-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a0a05;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

.hero-content {
    margin-left: auto;
    width: 50%;
    background-color: #7c2d12;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 80px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 16px;
}

.hero-subtitle {
    color: #f0d0c0;
    font-size: 1.1rem;
    max-width: 420px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
}

.categories-section {
    padding: 60px 0;
    background-color: #f7f5f3;
}

.categories-section h2 {
    text-align: center;
    color: var(--color-brand);
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background-color: #fff;
    border: 1px solid #e8e4e0;
    border-radius: 6px;
    text-decoration: none;
    color: #222;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    border-color: var(--color-brand);
    box-shadow: 0 4px 12px rgba(124,45,18,0.12);
    text-decoration: none;
}

.category-card svg {
    color: var(--color-brand);
    margin-bottom: 12px;
}

.category-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.category-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.articles-section {
    padding: 60px 0;
}

.articles-section h2 {
    text-align: center;
    color: var(--color-brand);
    margin-bottom: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.article-card {
    background-color: #fff;
    border: 1px solid #e8e4e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.article-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.article-card-body {
    padding: 20px;
}

.article-cat {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-card h3 a {
    color: #111;
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--color-brand);
    text-decoration: none;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.read-time {
    font-weight: 700;
}

.stats-section {
    padding: 60px 0;
    background-color: #1a0a05;
}

.stats-section h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    color: #f0d0c0;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--color-brand);
}

.stats-table td {
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #ddd;
    border-bottom: 1px solid #333;
}

.stats-table tbody tr {
    transition: background-color 0.2s;
}

.stats-table tbody tr:hover {
    background-color: rgba(124,45,18,0.15);
}

.stats-note {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 16px;
}

.calc-section {
    padding: 60px 0;
    background-color: #f7f5f3;
}

.calc-section h2 {
    text-align: center;
    color: var(--color-brand);
    margin-bottom: 40px;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.calc-card {
    background-color: #fff;
    border: 1px solid #e8e4e0;
    border-radius: 8px;
    padding: 32px;
}

.calc-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 8px;
}

.calc-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #111;
}

.calc-card > p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.calc-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    margin-top: 12px;
}

.calc-form label:first-of-type {
    margin-top: 0;
}

.calc-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #222;
    background-color: #fafafa;
    transition: border-color 0.2s;
}

.calc-form input:focus {
    outline: none;
    border-color: var(--color-brand);
}

.btn-calc {
    margin-top: 16px;
    width: 100%;
    font-size: 0.9rem;
    padding: 12px;
    border-radius: 4px;
}

.calc-result {
    margin-top: 16px;
    padding: 16px;
    background-color: #f7f5f3;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #222;
    line-height: 1.6;
}

.calc-result:empty {
    display: none;
}

.accordion-section {
    padding: 60px 0;
}

.accordion-section h2 {
    text-align: center;
    color: var(--color-brand);
    margin-bottom: 40px;
}

.accordion-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid #e8e4e0;
    border-radius: 6px;
    overflow: hidden;
    margin: 0;
}

.accordion-item summary {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background-color: #fafafa;
    color: #111;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--color-brand);
    font-weight: 700;
}

.accordion-item[open] summary::after {
    content: '\2212';
}

.accordion-item summary:hover {
    background-color: #f0ece8;
}

.accordion-item summary:focus-visible {
    outline: 2px solid var(--color-cta);
    outline-offset: -2px;
}

.accordion-content {
    padding: 16px 20px;
    background-color: #fff;
}

.accordion-content p {
    font-size: 0.95rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

.gallery-section {
    padding: 60px 0;
    background-color: #f7f5f3;
}

.gallery-section h2 {
    text-align: center;
    color: var(--color-brand);
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.newsletter-section {
    padding: 60px 0;
    background-color: var(--color-brand);
}

.newsletter-section h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
}

.newsletter-intro {
    text-align: center;
    color: #f0d0c0;
    max-width: 500px;
    margin: 0 auto 24px;
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #a0603a;
    border-radius: 4px;
    font-size: 1rem;
    color: #fff;
    background-color: rgba(255,255,255,0.1);
    transition: border-color 0.2s;
}

.newsletter-form input[type="email"]::placeholder {
    color: #c09080;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-cta);
}

.newsletter-form .btn-cta {
    border-radius: 4px;
    white-space: nowrap;
}

.newsletter-note {
    text-align: center;
    font-size: 0.8rem;
    color: #d0b8a8;
    margin-top: 12px;
}

.disclaimer-section {
    padding: 24px 0;
    background-color: #f7f5f3;
    border-top: 1px solid #e8e4e0;
}

.disclaimer-section p {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        min-height: auto;
    }
    .hero-content {
        width: 100%;
        padding: 48px 24px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    .category-card {
        padding: 20px 12px;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .stats-table {
        font-size: 0.85rem;
    }
    .stats-table th,
    .stats-table td {
        padding: 10px 8px;
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item img {
        height: 220px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form .btn-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    .calc-card {
        padding: 24px 16px;
    }
}