/* ===== HOME CSS - LE BISTROT DU TREIGE V5.1 ===== */

/* ===== HERO FULLSCREEN ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #1c0a00;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(28, 10, 0, 0.72);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 24px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 4rem);
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #f5e6d3;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fbbf24;
    color: #1c0a00;
    padding: 15px 32px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid #fbbf24;
    transition: background-color 0.2s, color 0.2s;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #1c0a00;
    outline: none;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: #fff;
    padding: 15px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.2s, background-color 0.2s;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    border-color: #fbbf24;
    background-color: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    outline: none;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px 32px;
    backdrop-filter: blur(4px);
}

.hero-stat {
    text-align: center;
    padding: 0 28px;
}

.hero-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat span {
    font-size: 0.8rem;
    color: #f5e6d3;
    letter-spacing: 0.03em;
}

.hero-stat-sep {
    width: 1px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== CATEGORIES STRIP ===== */
.categories-strip {
    background-color: #fdf8f4;
    padding: 64px 0;
    border-bottom: 1px solid #f0e0d0;
}

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

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background-color: #fff;
    border: 1px solid #f0e0d0;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    gap: 12px;
}

.cat-card:hover,
.cat-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(113, 63, 18, 0.1);
    border-color: #fbbf24;
    outline: none;
}

.cat-icon {
    width: 60px;
    height: 60px;
    background-color: #fef9ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fef3c7;
    transition: background-color 0.2s;
}

.cat-card:hover .cat-icon {
    background-color: #fef3c7;
}

.cat-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #3d2010;
    line-height: 1.3;
}

.cat-desc {
    font-size: 0.78rem;
    color: #9a7a5a;
    line-height: 1.4;
}

/* ===== DASHBOARD SECTION ===== */
.dashboard-section {
    padding: 72px 0;
    background-color: #fdf8f4;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.kpi-card {
    background-color: #fff;
    border: 1px solid #f0e0d0;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(113, 63, 18, 0.1);
}

.kpi-card.kpi-primary {
    background-color: #713f12;
    border-color: #713f12;
}

.kpi-card.kpi-primary .kpi-value,
.kpi-card.kpi-primary .kpi-label {
    color: #fff;
}

.kpi-icon {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}

.kpi-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: #713f12;
    line-height: 1;
    margin-bottom: 6px;
}

.kpi-label {
    font-size: 0.82rem;
    color: #7c5838;
    font-weight: 600;
    margin-bottom: 16px;
}

.kpi-bar {
    height: 4px;
    background-color: rgba(113, 63, 18, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.kpi-card.kpi-primary .kpi-bar {
    background-color: rgba(255, 255, 255, 0.2);
}

.kpi-fill {
    height: 100%;
    background-color: #fbbf24;
    border-radius: 2px;
    transition: width 1s ease;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    padding: 80px 0;
    background-color: #fff;
    border-top: 1px solid #f0e0d0;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: #fdf8f4;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0e0d0;
    margin-top: 32px;
}

.featured-img-wrap {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-article:hover .featured-img-wrap img {
    transform: scale(1.03);
}

.featured-cat-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #fbbf24;
    color: #1c0a00;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
}

.featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.article-date,
.article-read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #9a7a5a;
    font-weight: 500;
}

.featured-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #3d2010;
    margin-bottom: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.featured-title a {
    color: #3d2010;
    text-decoration: none;
    transition: color 0.2s;
}

.featured-title a:hover,
.featured-title a:focus {
    color: #713f12;
    outline: none;
}

.featured-excerpt {
    font-size: 1rem;
    color: #7c5838;
    line-height: 1.7;
    margin-bottom: 28px;
}

.featured-signature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #9a7a5a;
    font-style: italic;
}

.signature-avatar {
    width: 36px;
    height: 36px;
    background-color: #fef3c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== ARTICLES SECTION ===== */
.articles-section {
    padding: 80px 0;
    background-color: #fdf8f4;
}

.articles-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* ===== FILTRES ===== */
.filters-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.filter-label {
    font-size: 0.78rem;
    color: #9a7a5a;
    font-weight: 500;
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filter-btn {
    background-color: #fff;
    border: 1px solid #e0c9b0;
    color: #7c5838;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover,
.filter-btn:focus {
    border-color: #713f12;
    color: #713f12;
    background-color: #fef9ec;
    outline: none;
}

.filter-btn.active {
    background-color: #713f12;
    border-color: #713f12;
    color: #fff;
}

.filter-btn.active:hover {
    background-color: #92400e;
    border-color: #92400e;
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

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

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(113, 63, 18, 0.12);
}

.article-card.hidden {
    display: none;
}

.card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .card-img-wrap img {
    transform: scale(1.04);
}

.card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: rgba(28, 10, 0, 0.8);
    color: #fbbf24;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.card-body {
    padding: 24px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.card-date,
.card-read {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #9a7a5a;
    font-weight: 500;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #3d2010;
    margin-bottom: 12px;
    line-height: 1.35;
}

.card-title a {
    color: #3d2010;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover,
.card-title a:focus {
    color: #713f12;
    outline: none;
}

.card-excerpt {
    font-size: 0.88rem;
    color: #7c5838;
    line-height: 1.65;
}

/* No results */
.no-results {
    text-align: center;
    padding: 60px 0;
    color: #9a7a5a;
}

.no-results p {
    margin-top: 12px;
    font-size: 1rem;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    background-color: #713f12;
    padding: 80px 0;
}

.timeline {
    margin-top: 48px;
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(251, 191, 36, 0.3);
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    align-items: flex-start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    border: 3px solid #713f12;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3);
}

.timeline-content {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px 24px;
    flex: 1;
    min-width: 0;
}

.timeline-date {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fbbf24;
    margin-bottom: 4px;
}

.timeline-place {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 0.9rem;
    color: #f5e6d3;
    line-height: 1.65;
    margin-bottom: 12px;
}

.timeline-tag {
    display: inline-block;
    background-color: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

/* ===== CALCULATOR SECTION ===== */
.calculator-section {
    padding: 80px 0;
    background-color: #fdf8f4;
}

.calculator-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.calc-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #3d2010;
    font-weight: 800;
    margin-bottom: 16px;
    margin-top: 12px;
}

.calc-desc {
    font-size: 0.95rem;
    color: #7c5838;
    line-height: 1.7;
    margin-bottom: 20px;
}

.calc-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background-color: #fef9ec;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.8rem;
    color: #7c5838;
    line-height: 1.5;
}

.calc-note svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.calculator-card {
    background-color: #fff;
    border: 1px solid #f0e0d0;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(113, 63, 18, 0.08);
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calc-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #3d2010;
}

.calc-select {
    padding: 12px 16px;
    border: 1px solid #e0c9b0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #3d2010;
    background-color: #fdf8f4;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    transition: border-color 0.2s;
}

.calc-select:focus {
    border-color: #713f12;
    outline: none;
}

.calc-number-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e0c9b0;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.calc-num-btn {
    background-color: #fef9ec;
    border: none;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #713f12;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-num-btn:hover {
    background-color: #fef3c7;
}

.calc-number {
    width: 64px;
    text-align: center;
    border: none;
    border-left: 1px solid #e0c9b0;
    border-right: 1px solid #e0c9b0;
    padding: 0 8px;
    height: 44px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #3d2010;
    font-family: inherit;
    background-color: #fff;
}

.calc-number:focus {
    outline: none;
    background-color: #fef9ec;
}

.calc-toggle-wrap {
    display: flex;
    gap: 0;
    border: 1px solid #e0c9b0;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
}

.calc-toggle {
    padding: 10px 24px;
    background-color: #fdf8f4;
    border: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: #7c5838;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s, color 0.2s;
}

.calc-toggle.active {
    background-color: #713f12;
    color: #fff;
}

.calc-toggle:hover {
    background-color: #fef3c7;
    color: #3d2010;
}

.calc-toggle.active:hover {
    background-color: #92400e;
    color: #fff;
}

.calc-result {
    background-color: #713f12;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.calc-result-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.calc-result-range {
    font-size: 2rem;
    font-weight: 900;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 6px;
}

.calc-result-per {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== COMPARE SECTION ===== */
.compare-section {
    padding: 80px 0;
    background-color: #fff;
    border-top: 1px solid #f0e0d0;
}

.compare-intro {
    font-size: 0.95rem;
    color: #7c5838;
    margin-bottom: 36px;
    line-height: 1.65;
    max-width: 640px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.9rem;
}

.compare-table thead tr {
    background-color: #713f12;
}

.compare-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}

.compare-table tbody tr {
    border-bottom: 1px solid #f0e0d0;
    transition: background-color 0.2s;
}

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

.compare-table tbody tr:last-child {
    border-bottom: none;
}

.compare-table td {
    padding: 16px 20px;
    color: #3d2010;
    vertical-align: middle;
}

.table-type {
    color: #713f12;
    font-weight: 700;
}

.table-budget {
    font-weight: 700;
    color: #3d2010;
    white-space: nowrap;
}

.table-fav {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7c5838;
    font-style: italic;
    font-size: 0.85rem;
}

.table-note {
    margin-top: 16px;
    font-size: 0.78rem;
    color: #9a7a5a;
    font-style: italic;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    padding: 80px 0;
    background-color: #1c0a00;
}

.newsletter-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(251, 191, 36, 0.1);
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-desc {
    font-size: 0.9rem;
    color: #d6bfa8;
    line-height: 1.65;
    max-width: 480px;
}

.newsletter-form {
    min-width: 300px;
}

.newsletter-inputs {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.nl-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-size: 0.95rem;
    font-family: inherit;
    color: #3d2010;
    background-color: #fff;
    min-width: 0;
    font-size: 16px;
}

.nl-input:focus {
    outline: none;
    background-color: #fef9ec;
}

.nl-btn {
    background-color: #fbbf24;
    color: #1c0a00;
    border: none;
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.nl-btn:hover,
.nl-btn:focus {
    background-color: #f59e0b;
    outline: none;
}

.nl-legal {
    font-size: 0.72rem;
    color: #8a7060;
    line-height: 1.5;
}

.nl-success {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #86efac;
    margin-top: 8px;
    font-weight: 600;
}

.nl-error {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #fca5a5;
    margin-top: 8px;
}

/* ===== ABOUT STRIP ===== */
.about-strip {
    padding: 80px 0;
    background-color: #fdf8f4;
}

.about-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about-img-col img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid #fbbf24;
}

.about-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: #3d2010;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 12px;
}

.about-text {
    font-size: 0.95rem;
    color: #7c5838;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #3d2010;
    font-weight: 600;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #713f12;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid #fbbf24;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.about-link:hover,
.about-link:focus {
    color: #92400e;
    border-color: #92400e;
    outline: none;
}

/* ===== RESPONSIVE (auto-repair) ===== */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 680px;
        padding: 32px 20px;
    }

    .hero-stats {
        padding: 16px 20px;
    }

    .hero-stat {
        padding: 0 16px;
    }

    .hero-stat strong {
        font-size: 1.6rem;
    }

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

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .dashboard-section {
        padding: 56px 0;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .featured-content {
        padding: 32px;
    }

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

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

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

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

    .calculator-wrap {
        gap: 40px;
    }

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

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

    .newsletter-wrap {
        gap: 28px;
    }

    .newsletter-form {
        min-width: 260px;
    }

    .about-strip {
        padding: 60px 0;
    }

    .about-wrap {
        gap: 40px;
    }

    .about-img-col img {
        height: 380px;
    }

    .calculator-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100svh;
        align-items: center;
    }

    .hero-content {
        padding: 24px 16px;
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        border-radius: 10px;
    }

    .hero-stat {
        padding: 0;
    }

    .hero-stat strong {
        font-size: 1.8rem;
    }

    .hero-stat-sep {
        width: 80px;
        height: 1px;
    }

    .hero-scroll-hint {
        bottom: 20px;
    }

    .categories-strip {
        padding: 36px 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cat-card {
        padding: 20px 12px;
        gap: 8px;
    }

    .cat-icon {
        width: 48px;
        height: 48px;
    }

    .cat-name {
        font-size: 0.82rem;
    }

    .cat-desc {
        font-size: 0.72rem;
    }

    .dashboard-section {
        padding: 40px 0;
    }

    .dashboard-header {
        margin-bottom: 24px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .kpi-card {
        padding: 20px 16px;
    }

    .kpi-value {
        font-size: 2.2rem;
    }

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

    .featured-article {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

    .featured-img-wrap {
        min-height: 240px;
    }

    .featured-content {
        padding: 24px;
    }

    .featured-meta {
        gap: 12px;
        margin-bottom: 14px;
    }

    .featured-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .featured-excerpt {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

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

    .articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 28px;
    }

    .filters-wrap {
        align-items: flex-start;
        width: 100%;
    }

    .filters {
        justify-content: flex-start;
    }

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

    .card-img-wrap {
        height: 200px;
    }

    .card-body {
        padding: 18px;
    }

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

    .timeline {
        margin-top: 32px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        gap: 16px;
        margin-bottom: 28px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
    }

    .timeline-content {
        padding: 16px 18px;
    }

    .timeline-place {
        font-size: 0.95rem;
    }

    .timeline-text {
        font-size: 0.85rem;
    }

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

    .calculator-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .calculator-card {
        padding: 24px;
    }

    .calc-title {
        font-size: 1.3rem;
    }

    .calc-result-range {
        font-size: 1.6rem;
    }

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

    .compare-intro {
        font-size: 0.88rem;
        margin-bottom: 24px;
    }

    .compare-table {
        font-size: 0.82rem;
    }

    .compare-table th {
        padding: 12px 12px;
        font-size: 0.72rem;
    }

    .compare-table td {
        padding: 12px 12px;
    }

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

    .newsletter-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .newsletter-icon {
        margin: 0 auto;
        width: 64px;
        height: 64px;
    }

    .newsletter-desc {
        max-width: 100%;
    }

    .newsletter-form {
        min-width: 0;
        width: 100%;
    }

    .newsletter-inputs {
        flex-direction: column;
        border-radius: 8px;
        overflow: visible;
        gap: 8px;
    }

    .nl-input {
        border-radius: 8px;
        padding: 12px 16px;
        font-size: 16px;
    }

    .nl-btn {
        border-radius: 8px;
        justify-content: center;
        padding: 13px 20px;
    }

    .nl-legal {
        text-align: left;
    }

    .about-strip {
        padding: 48px 0;
    }

    .about-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-img-col img {
        height: 280px;
        border-radius: 12px;
    }

    .about-title {
        font-size: 1.3rem;
        margin-bottom: 14px;
    }

    .about-text {
        font-size: 0.9rem;
    }

    .about-values {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 16px 12px;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 4px 10px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        max-width: 100%;
        padding: 13px 20px;
        font-size: 0.9rem;
    }

    .hero-stats {
        padding: 14px 12px;
    }

    .hero-stat strong {
        font-size: 1.5rem;
    }

    .hero-stat span {
        font-size: 0.72rem;
    }

    .categories-strip {
        padding: 28px 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .cat-card {
        padding: 16px 8px;
        gap: 6px;
    }

    .cat-icon {
        width: 40px;
        height: 40px;
    }

    .cat-name {
        font-size: 0.78rem;
    }

    .cat-desc {
        display: none;
    }

    .dashboard-section {
        padding: 32px 0;
    }

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

    .kpi-card {
        padding: 18px 14px;
    }

    .kpi-value {
        font-size: 2rem;
    }

    .kpi-label {
        font-size: 0.78rem;
    }

    .featured-section {
        padding: 36px 0;
    }

    .featured-img-wrap {
        min-height: 200px;
    }

    .featured-content {
        padding: 18px 16px;
    }

    .featured-title {
        font-size: 1.1rem;
    }

    .featured-excerpt {
        font-size: 0.85rem;
    }

    .featured-meta {
        gap: 8px;
        flex-wrap: wrap;
    }

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

    .articles-header {
        gap: 12px;
        margin-bottom: 20px;
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .articles-grid {
        gap: 16px;
    }

    .card-img-wrap {
        height: 180px;
    }

    .card-body {
        padding: 14px;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-excerpt {
        font-size: 0.82rem;
    }

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

    .timeline {
        margin-top: 24px;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-marker {
        width: 34px;
        height: 34px;
    }

    .timeline-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    .timeline-content {
        padding: 12px 14px;
    }

    .timeline-place {
        font-size: 0.9rem;
    }

    .timeline-text {
        font-size: 0.8rem;
    }

    .timeline-tag {
        font-size: 0.68rem;
        padding: 3px 8px;
    }

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

    .calculator-card {
        padding: 18px 14px;
        border-radius: 12px;
    }

    .calc-form {
        gap: 18px;
    }

    .calc-title {
        font-size: 1.15rem;
    }

    .calc-desc {
        font-size: 0.88rem;
    }

    .calc-select {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .calc-num-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .calc-number {
        width: 52px;
        height: 38px;
        font-size: 1rem;
    }

    .calc-toggle {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .calc-result {
        padding: 18px 14px;
    }

    .calc-result-range {
        font-size: 1.4rem;
    }

    .compare-section {
        padding: 36px 0;
    }

    .compare-table {
        font-size: 0.78rem;
    }

    .compare-table th {
        padding: 10px 8px;
        font-size: 0.68rem;
    }

    .compare-table td {
        padding: 10px 8px;
    }

    .table-fav {
        font-size: 0.75rem;
    }

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

    .newsletter-wrap {
        gap: 18px;
    }

    .newsletter-icon {
        width: 52px;
        height: 52px;
    }

    .newsletter-title {
        font-size: 1.1rem;
    }

    .newsletter-desc {
        font-size: 0.82rem;
    }

    .nl-input {
        padding: 11px 14px;
        font-size: 16px;
    }

    .nl-btn {
        padding: 11px 16px;
        font-size: 0.85rem;
    }

    .about-strip {
        padding: 36px 0;
    }

    .about-wrap {
        gap: 20px;
    }

    .about-img-col img {
        height: 220px;
        border-radius: 10px;
        border-width: 3px;
    }

    .about-title {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .about-text {
        font-size: 0.85rem;
        line-height: 1.65;
    }

    .about-value {
        font-size: 0.82rem;
        gap: 8px;
    }

    .about-values {
        gap: 8px;
        margin: 16px 0;
    }

    .about-link {
        font-size: 0.88rem;
    }
}