/* ===================================
   HOME CSS — Coiffure Disangro
   Blog passion coiffure 2026
   =================================== */

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

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

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: scale(1.03);
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(76, 175, 80, 0.18);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #a8d5a8;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800;
    color: #f0f8f0;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(16px, 2.2vw, 19px);
    color: #b0c8b0;
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: #4caf50;
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.1s;
}

.hero-btn-primary:hover {
    background-color: #3d9140;
    color: #fff;
    transform: translateY(-1px);
}

.hero-btn-primary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background-color: transparent;
    color: #d4e8d4;
    border: 2px solid rgba(212, 232, 212, 0.4);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.hero-btn-secondary:hover {
    border-color: #4caf50;
    color: #4caf50;
}

.hero-btn-secondary:focus-visible {
    outline: 2px solid #4caf50;
    outline-offset: 3px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #4caf50;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 11px;
    color: #7a9a7a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.hero-stat-sep {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.12);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background-color: #4caf50;
    animation: heroScrollAnim 1.8s ease-in-out infinite;
}

@keyframes heroScrollAnim {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =====================
   DASHBOARD SECTION
   ===================== */
.dashboard-section {
    padding: 56px 0;
    background-color: #fff;
    border-bottom: 1px solid #e8f5e9;
}

.dashboard-section .section-label {
    margin-bottom: 24px;
}

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

.dash-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background-color: #f8faf8;
    border: 1px solid #e0ece0;
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dash-card:hover {
    border-color: #4caf50;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.1);
}

.dash-card--featured {
    border-color: #4caf50;
    background-color: #f0f8f0;
}

.dash-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0ece0;
}

.dash-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dash-card__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a9a7a;
    font-weight: 600;
}

.dash-card__value {
    font-size: 15px;
    font-weight: 700;
    color: #1a2a1a;
    display: block;
    overflow-wrap: break-word;
}

.dash-card__note {
    font-size: 11px;
    color: #9aaa9a;
}

/* =====================
   CATEGORIES SECTION
   ===================== */
.categories-section {
    padding: 80px 0;
    background-color: #f8faf8;
}

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

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

.cat-card:hover {
    border-color: #4caf50;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.12);
    transform: translateY(-2px);
}

.cat-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background-color: #f0f8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c8e6c9;
    color: #3d9140;
}

.cat-card__body {
    flex: 1;
    min-width: 0;
}

.cat-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #1a2a1a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cat-card__title a {
    color: #1a2a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.cat-card__title a:hover {
    color: #4caf50;
}

.cat-card__title a:focus-visible {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
    border-radius: 3px;
}

.cat-card__count {
    font-size: 12px;
    color: #7a9a7a;
}

.cat-card__arrow {
    flex-shrink: 0;
    color: #b0c8b0;
    transition: color 0.2s, transform 0.2s;
}

.cat-card:hover .cat-card__arrow {
    color: #4caf50;
    transform: translateX(3px);
}

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

/* Article vedette */
.article-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 2px solid #e8f5e9;
}

.article-featured__image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

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

.article-featured__category {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #4caf50;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.article-featured__content {
    padding: 8px 0;
}

.article-featured__title {
    font-size: clamp(22px, 3vw, 32px);
    color: #1a2a1a;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.article-featured__title a {
    color: #1a2a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.article-featured__title a:hover {
    color: #4caf50;
}

.article-featured__title a:focus-visible {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
    border-radius: 3px;
}

.article-featured__excerpt {
    font-size: 16px;
    color: #5a7a5a;
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-featured__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #fff9e6;
    border: 1px solid #ffcc80;
    color: #e65100;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Articles grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background-color: #f8faf8;
    border: 1px solid #e0ece0;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.article-card:hover {
    border-color: #4caf50;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.12);
    transform: translateY(-3px);
}

.article-card--featured {
    border-color: #c8e6c9;
}

.article-card__image {
    position: relative;
    overflow: hidden;
}

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

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

.article-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #3b4f3b;
    color: #a8d5a8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.article-card__body {
    padding: 20px;
}

.article-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #1a2a1a;
    line-height: 1.35;
    margin-bottom: 10px;
}

.article-card__title a {
    color: #1a2a1a;
    text-decoration: none;
    transition: color 0.2s;
}

.article-card__title a:hover {
    color: #4caf50;
}

.article-card__title a:focus-visible {
    outline: 2px solid #4caf50;
    outline-offset: 2px;
    border-radius: 3px;
}

.article-card__excerpt {
    font-size: 14px;
    color: #6a8a6a;
    line-height: 1.6;
}

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

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #3b4f3b;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    gap: 0;
    align-items: start;
    padding: 24px 0;
    position: relative;
}

.timeline-item--right {
    direction: rtl;
}

.timeline-item--right > * {
    direction: ltr;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background-color: #3b4f3b;
    border: 2px solid #4caf50;
    border-radius: 50%;
    margin: 6px auto 0;
    flex-shrink: 0;
    z-index: 1;
    position: relative;
}

.timeline-dot--active {
    background-color: #4caf50;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.25);
}

.timeline-year {
    font-size: 13px;
    font-weight: 800;
    color: #7a9a7a;
    text-align: right;
    padding-right: 24px;
    padding-top: 4px;
    letter-spacing: 0.05em;
}

.timeline-item--right .timeline-year {
    text-align: left;
    padding-right: 0;
    padding-left: 24px;
    grid-column: 3;
}

.timeline-item--right .timeline-dot {
    grid-column: 2;
    grid-row: 1;
}

.timeline-item--right .timeline-card {
    grid-column: 1;
    grid-row: 1;
}

.timeline-year--active {
    color: #4caf50;
}

.timeline-card {
    padding-left: 24px;
    padding-right: 8px;
}

.timeline-item--right .timeline-card {
    padding-left: 8px;
    padding-right: 24px;
    text-align: right;
}

.timeline-card__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #d4e8d4;
    margin-bottom: 8px;
}

.timeline-card__text {
    font-size: 13px;
    color: #7a9a7a;
    line-height: 1.6;
    margin-bottom: 10px;
}

.timeline-card--active .timeline-card__title {
    color: #a8d5a8;
}

.timeline-tag {
    display: inline-block;
    background-color: #2d4a2d;
    color: #7a9a7a;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin: 2px 3px 2px 0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.timeline-tag--active {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

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

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.calc-intro .section-label {
    margin-bottom: 16px;
}

.calc-title {
    font-size: clamp(22px, 3vw, 30px);
    color: #1a2a1a;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.calc-desc {
    font-size: 15px;
    color: #5a7a5a;
    line-height: 1.7;
    margin-bottom: 20px;
}

.calc-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #fff9e6;
    border: 1px solid #ffcc80;
    color: #8d6e63;
    font-size: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    line-height: 1.5;
}

.calc-interactive {
    background-color: #fff;
    border: 1px solid #d4e8d4;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(76, 175, 80, 0.06);
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
}

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

.calc-label {
    font-size: 14px;
    font-weight: 600;
    color: #3b4f3b;
}

.calc-input-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-range {
    flex: 1;
    height: 4px;
    appearance: none;
    background-color: #d4e8d4;
    border-radius: 4px;
    cursor: pointer;
    width: auto;
    font-size: 16px;
}

.calc-range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: #4caf50;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
}

.calc-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background-color: #4caf50;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
}

.calc-range:focus-visible {
    outline: 2px solid #4caf50;
    outline-offset: 4px;
    border-radius: 4px;
}

.calc-output {
    min-width: 52px;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: #3b4f3b;
    flex-shrink: 0;
}

.calc-result {
    background-color: #f8faf8;
    border: 1px solid #e0ece0;
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.calc-result__card {
    text-align: center;
    padding: 16px;
    border-radius: 10px;
}

.calc-result__card--salon {
    background-color: #fff3e0;
    border: 1px solid #ffcc80;
}

.calc-result__card--diy {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
}

.calc-result__label {
    display: block;
    font-size: 11px;
    color: #7a9a7a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.calc-result__amount {
    display: block;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.calc-result__card--salon .calc-result__amount {
    color: #e65100;
}

.calc-result__card--diy .calc-result__amount {
    color: #2e7d32;
}

.calc-result__vs {
    font-size: 13px;
    font-weight: 700;
    color: #9aaa9a;
    text-align: center;
}

.calc-result__saving {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    color: #3b4f3b;
    grid-column: 1 / -1;
}

.calc-result__saving svg {
    color: #4caf50;
    flex-shrink: 0;
}

.calc-result__saving strong {
    color: #2e7d32;
    font-size: 16px;
}

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

.newsletter-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    background-color: #1e3a1e;
    border: 1px solid #3b4f3b;
    border-radius: 20px;
    padding: 40px 48px;
}

.newsletter-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background-color: #2d4a2d;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3b4f3b;
}

.newsletter-title {
    font-size: 22px;
    font-weight: 800;
    color: #f0f8f0;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.newsletter-desc {
    font-size: 14px;
    color: #7a9a7a;
    line-height: 1.6;
}

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

.newsletter-fields {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #3b4f3b;
    margin-bottom: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background-color: #1a2a1a;
    border: none;
    color: #d4e8d4;
    font-size: 14px;
    width: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.newsletter-input::placeholder {
    color: #4a6a4a;
}

.newsletter-input:focus {
    outline: none;
    background-color: #243824;
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: background-color 0.2s;
}

.newsletter-btn:hover {
    background-color: #3d9140;
}

.newsletter-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.newsletter-legal {
    font-size: 11px;
    color: #4a6a4a;
    line-height: 1.4;
}

/* =====================
   DISCLAIMER SECTION
   ===================== */
.disclaimer-section {
    padding: 24px 0;
    background-color: #f8faf8;
    border-top: 1px solid #e0ece0;
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #fff9e6;
    border: 1px solid #ffe0b2;
    border-radius: 10px;
    padding: 16px 20px;
    color: #5d4037;
    font-size: 13px;
    line-height: 1.6;
}

.disclaimer-content svg {
    flex-shrink: 0;
    color: #ff9800;
    margin-top: 2px;
}

.disclaimer-content strong {
    color: #bf360c;
}

/* ===== RESPONSIVE (auto-repair) ===== */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 80vh;
    }

    .hero-content {
        max-width: 640px;
        padding: 32px 20px;
    }

    .hero-cta-group {
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-sep {
        height: 32px;
    }

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

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

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

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

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

    .article-featured {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .article-featured__image img {
        height: 300px;
    }

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

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

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

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

    .calc-interactive {
        padding: 24px;
    }

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

    .newsletter-wrapper {
        grid-template-columns: auto 1fr;
        gap: 24px;
        padding: 32px 36px;
    }

    .newsletter-form {
        grid-column: 1 / -1;
        min-width: 0;
    }
}

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

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

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

    .hero-title {
        font-size: 32px;
        margin-bottom: 14px;
    }

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

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 32px;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
    }

    .hero-stats {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat-number {
        font-size: 24px;
    }

    .hero-stat-sep {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

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

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

    .dash-card {
        padding: 14px;
        gap: 10px;
    }

    .dash-card__icon {
        width: 42px;
        height: 42px;
    }

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

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

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

    .cat-card__icon {
        width: 44px;
        height: 44px;
    }

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

    .article-featured {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
        padding-bottom: 32px;
    }

    .article-featured__image img {
        height: 240px;
    }

    .article-featured__content {
        padding: 0;
    }

    .article-featured__excerpt {
        font-size: 14px;
    }

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

    .article-card__image img {
        height: 180px;
    }

    .article-card__body {
        padding: 16px;
    }

    .article-card__title {
        font-size: 15px;
    }

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

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

    .timeline-item {
        grid-template-columns: 40px 1fr;
        padding: 16px 0;
    }

    .timeline-item--right {
        direction: ltr;
    }

    .timeline-year {
        display: none;
    }

    .timeline-item--right .timeline-year {
        display: none;
    }

    .timeline-dot {
        grid-column: 1;
        grid-row: 1;
        margin: 6px 0 0 9px;
    }

    .timeline-item--right .timeline-dot {
        grid-column: 1;
        grid-row: 1;
        margin: 6px 0 0 9px;
    }

    .timeline-card {
        grid-column: 2;
        grid-row: 1;
        padding-left: 16px;
        padding-right: 0;
    }

    .timeline-item--right .timeline-card {
        grid-column: 2;
        grid-row: 1;
        padding-left: 16px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-card__title {
        font-size: 14px;
    }

    .timeline-card__text {
        font-size: 12px;
    }

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

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

    .calc-interactive {
        padding: 20px;
    }

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

    .calc-result__vs {
        display: none;
    }

    .calc-result__saving {
        grid-column: 1;
    }

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

    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 24px;
        text-align: center;
    }

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

    .newsletter-title {
        font-size: 19px;
    }

    .newsletter-desc {
        font-size: 13px;
    }

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

    .newsletter-fields {
        flex-direction: column;
        border-radius: 10px;
        overflow: hidden;
    }

    .newsletter-input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .newsletter-btn {
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }

    .disclaimer-section {
        padding: 16px 0;
    }

    .disclaimer-content {
        font-size: 12px;
        padding: 14px 16px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 60vh;
    }

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

    .hero-title {
        font-size: 26px;
        letter-spacing: -0.01em;
    }

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

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

    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 12px 16px;
        font-size: 13px;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stat-number {
        font-size: 20px;
    }

    .hero-stat-label {
        font-size: 10px;
    }

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

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

    .dash-card {
        padding: 12px;
        gap: 10px;
    }

    .dash-card__icon {
        width: 38px;
        height: 38px;
    }

    .dash-card__value {
        font-size: 13px;
    }

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

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

    .cat-card__icon {
        width: 38px;
        height: 38px;
    }

    .cat-card__title {
        font-size: 13px;
    }

    .cat-card__count {
        font-size: 11px;
    }

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

    .article-featured__image img {
        height: 200px;
    }

    .article-featured__title {
        font-size: 20px;
    }

    .article-featured__excerpt {
        font-size: 13px;
    }

    .article-card__image img {
        height: 160px;
    }

    .article-card__body {
        padding: 12px;
    }

    .article-card__title {
        font-size: 14px;
    }

    .article-card__excerpt {
        font-size: 13px;
    }

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

    .timeline-card__title {
        font-size: 13px;
    }

    .timeline-card__text {
        font-size: 12px;
    }

    .timeline-tag {
        font-size: 9px;
        padding: 2px 6px;
    }

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

    .calc-title {
        font-size: 20px;
    }

    .calc-desc {
        font-size: 13px;
    }

    .calc-interactive {
        padding: 16px;
    }

    .calc-label {
        font-size: 13px;
    }

    .calc-output {
        font-size: 13px;
        min-width: 44px;
    }

    .calc-result {
        padding: 14px;
    }

    .calc-result__amount {
        font-size: 22px;
    }

    .calc-result__label {
        font-size: 10px;
    }

    .calc-disclaimer {
        font-size: 11px;
        padding: 8px 12px;
    }

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

    .newsletter-wrapper {
        padding: 22px 16px;
        border-radius: 14px;
        gap: 16px;
    }

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

    .newsletter-title {
        font-size: 17px;
    }

    .newsletter-desc {
        font-size: 12px;
    }

    .newsletter-input {
        padding: 11px 12px;
        font-size: 13px;
    }

    .newsletter-btn {
        padding: 11px 14px;
        font-size: 13px;
    }

    .newsletter-legal {
        font-size: 10px;
    }

    .disclaimer-section {
        padding: 12px 0;
    }

    .disclaimer-content {
        font-size: 11px;
        padding: 12px 14px;
        gap: 8px;
        border-radius: 8px;
    }
}