.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #3d1a06;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(58, 20, 4, 0.68);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    padding: 60px 32px;
    width: 100%;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-title-accent {
    color: #fcd6a0;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.88);
    line-height: 1.6;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-content .btn-cta {
    font-size: 16px;
    padding: 14px 36px;
}

.timeline-section {
    background-color: var(--bg-light);
    padding: 72px 0;
}

.timeline-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.timeline-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.timeline-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 12px;
    line-height: 1.6;
}

.timeline-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.timeline-track {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-brand);
    opacity: 0.25;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    min-width: 0;
}

.timeline-item--left {
    flex-direction: row;
    justify-content: flex-start;
    padding-right: calc(50% + 24px);
}

.timeline-item--right {
    flex-direction: row-reverse;
    justify-content: flex-start;
    padding-left: calc(50% + 24px);
}

.timeline-marker {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.timeline-marker svg {
    stroke: #fff;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.timeline-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex: 1;
    min-width: 0;
    border-left: 3px solid var(--color-brand);
}

.timeline-item--right .timeline-card {
    border-left: none;
    border-right: 3px solid var(--color-brand);
}

.timeline-step {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 6px;
}

.timeline-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.6;
}

.timeline-card-text {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.categories-section {
    padding: 72px 0;
    background-color: #fff;
}

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

.cat-card {
    display: block;
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 24px 20px;
    text-decoration: none;
    transition: box-shadow 0.2s, background-color 0.2s;
    border-bottom: 3px solid transparent;
    min-width: 0;
}

.cat-card:hover {
    background-color: #fef0e0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-bottom-color: var(--color-brand);
    text-decoration: none;
}

.cat-card-icon {
    margin-bottom: 14px;
}

.cat-card-icon svg {
    stroke: var(--color-brand);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cat-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px;
    line-height: 1.6;
}

.cat-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 12px;
    line-height: 1.6;
}

.cat-card-count {
    font-size: 12px;
    color: var(--color-brand);
    font-weight: 700;
}

.articles-section {
    padding: 72px 0;
    background-color: var(--bg-light);
}

.articles-featured {
    margin-bottom: 32px;
}

.article-card--featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    min-width: 0;
}

.article-card--featured .article-card__image-wrap {
    min-height: 280px;
    overflow: hidden;
}

.article-card--featured .article-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card--featured .article-card__body {
    padding: 32px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: box-shadow 0.2s;
}

.article-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.article-card__image-wrap {
    overflow: hidden;
}

.article-card__image-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.article-card:hover .article-card__image-wrap img {
    transform: translateY(-3px) scale(1.02);
}

.article-card__body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.article-card__cat:hover {
    color: var(--color-brand-dark);
    text-decoration: none;
}

.article-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 10px;
    color: var(--text-dark);
}

.article-card__title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

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

.article-card__excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-light);
    margin-top: auto;
}

.article-card__sep {
    color: var(--border);
}

.article-card__date,
.article-card__read {
    font-size: 12px;
    color: var(--text-light);
}

.calculator-section {
    padding: 72px 0;
    background-color: #fff;
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
    min-width: 0;
}

.calc-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-brand);
    line-height: 1.6;
    margin-bottom: 16px;
}

.calc-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.calc-disclaimer {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.calc-form-zone {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 28px 28px 24px;
    min-width: 0;
}

.calc-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.calc-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
}

.calc-input {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: #fff;
    color: var(--text-dark);
    width: 100%;
    max-width: 100%;
    transition: border-color 0.2s;
    min-width: 0;
}

.calc-input:focus {
    outline: none;
    border-color: var(--color-brand);
    box-shadow: 0 0 0 2px rgba(146, 64, 14, 0.12);
}

.calc-help {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.6;
}

.calc-btn {
    display: block;
    width: 100%;
    background-color: var(--color-cta);
    color: #fff;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    padding: 13px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}

.calc-btn:hover,
.calc-btn:focus {
    background-color: #15803d;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.28);
    outline: none;
}

.calc-btn:focus-visible {
    outline: 2px solid #15803d;
    outline-offset: 3px;
}

.calc-results {
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 20px;
    min-width: 0;
}

.calc-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.calc-result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.calc-result-label {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.calc-result-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.6;
}

.calc-result-value--main {
    color: var(--color-cta);
    font-size: 22px;
}

.calc-note {
    font-size: 12px;
    color: var(--text-light);
    margin: 12px 0 0;
    line-height: 1.6;
    font-style: italic;
}

.comparison-section {
    padding: 72px 0;
    background-color: var(--bg-light);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    min-width: 600px;
}

.compare-table thead tr {
    background-color: var(--color-brand);
}

.compare-table thead th {
    color: #fff;
    font-weight: 700;
    text-align: left;
    padding: 14px 16px;
    font-size: 13px;
    border-bottom: none;
    line-height: 1.6;
}

.compare-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background-color 0.15s;
}

.compare-table tbody tr:hover {
    background-color: #fef8f3;
}

.compare-table tbody td {
    padding: 12px 16px;
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    vertical-align: middle;
}

.compare-table__highlight {
    background-color: #fef0e0;
}

.compare-table__highlight td {
    color: var(--text-dark);
    font-weight: 700;
}

.compare-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
    font-style: italic;
}

.accordion-section {
    padding: 72px 0;
    background-color: #fff;
}

.accordion {
    max-width: 860px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-item:first-child {
    border-top: 1px solid var(--border);
}

.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    gap: 16px;
    line-height: 1.6;
    transition: color 0.2s;
}

.accordion-trigger:hover {
    color: var(--color-brand);
}

.accordion-trigger:focus-visible {
    outline: 2px solid var(--color-brand);
    outline-offset: 2px;
    border-radius: 2px;
}

.accordion-icon {
    flex-shrink: 0;
    stroke: var(--color-brand);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-panel {
    padding: 0 4px 20px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.accordion-panel p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.accordion-panel--closed {
    display: none;
}

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

.newsletter-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    min-width: 0;
}

.newsletter-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.6;
}

.newsletter-desc {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.newsletter-fields {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    min-width: 200px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    transition: border-color 0.2s, background-color 0.2s;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: #fff;
    background-color: rgba(255,255,255,0.22);
}

.newsletter-legal {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.6;
}

.newsletter-msg {
    font-size: 14px;
    color: rgba(255,255,255,0.88);
    margin-top: 8px;
    min-height: 20px;
    line-height: 1.6;
}

.stats-section {
    padding: 64px 0;
    background-color: var(--bg-light);
}

.stats-section .section-heading {
    text-align: center;
    margin-bottom: 36px;
}

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

.stat-item {
    text-align: center;
    padding: 24px 16px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    min-width: 0;
}

.stat-number {
    display: block;
    font-size: 38px;
    font-weight: 700;
    color: var(--color-brand);
    line-height: 1.6;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 420px;
    }

    .hero-content {
        padding: 48px 20px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .timeline-section {
        padding: 48px 0;
    }

    .timeline-container {
        padding: 0 16px;
    }

    .timeline-line {
        left: 24px;
    }

    .timeline-track {
        max-width: 100%;
    }

    .timeline-item--left,
    .timeline-item--right {
        flex-direction: column;
        padding-left: 72px;
        padding-right: 0;
        gap: 12px;
    }

    .timeline-marker {
        left: 0;
        transform: none;
        width: 40px;
        height: 40px;
        position: absolute;
    }

    .timeline-card {
        border-left: 3px solid var(--color-brand);
        border-right: none;
    }

    .timeline-item--right .timeline-card {
        border-left: 3px solid var(--color-brand);
        border-right: none;
    }

    .categories-section {
        padding: 48px 0;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

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

    .article-card--featured {
        grid-template-columns: 1fr;
    }

    .article-card--featured .article-card__image-wrap {
        min-height: 200px;
    }

    .article-card--featured .article-card__body {
        padding: 20px 22px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .calculator-section {
        padding: 48px 0;
    }

    .calc-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .calc-inputs {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .calc-result-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .comparison-section {
        padding: 48px 0;
    }

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

    .newsletter-section {
        padding: 48px 0;
    }

    .newsletter-box {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .newsletter-fields {
        flex-direction: column;
    }

    .newsletter-input {
        min-width: auto;
        width: 100%;
    }

    .stats-section {
        padding: 48px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .calc-result-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 30px;
    }
}