/* ===================================================
   HOME.CSS - BTS AV Picardie - Page d'accueil
   Design créatif audiovisuel avec sections diagonales
   =================================================== */

/* =============================================
   HERO DIAGONAL
   ============================================= */
.hero-diagonal {
    position: relative;
    background-color: #0f2260;
    overflow: hidden;
    padding-bottom: 80px;
}

.hero-diagonal__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-diagonal__shape {
    position: absolute;
    border-radius: 50%;
}

.hero-diagonal__shape--1 {
    width: 480px;
    height: 480px;
    background-color: #1e3a8a;
    top: -160px;
    right: -100px;
}

.hero-diagonal__shape--2 {
    width: 280px;
    height: 280px;
    background-color: #be185d;
    bottom: -80px;
    left: -60px;
    border-radius: 50%;
}

.hero-diagonal__shape--3 {
    width: 140px;
    height: 140px;
    background-color: #f59e0b;
    top: 40px;
    left: 38%;
    border-radius: 50%;
}

/* Filmstrip decoratif */
.hero-diagonal__filmstrip {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: flex-start;
}

.filmstrip-inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 4px;
}

.filmstrip-frame {
    width: 48px;
    height: 36px;
    background-color: #1e3a8a;
    border: 2px solid #2d52b8;
    border-radius: 3px;
    flex-shrink: 0;
}

.hero-diagonal__cut {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #f4f6fb;
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.hero-diagonal__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 60px;
}

.hero-diagonal__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-bottom: 24px;
}

.hero-diagonal__title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-diagonal__title-accent {
    color: #f59e0b;
}

.hero-diagonal__desc {
    font-size: 1.1rem;
    color: #c0ceee;
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-diagonal__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background-color: #f59e0b;
    color: #0f2260;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.2s, transform 0.15s;
    font-family: inherit;
}

.btn-hero-primary:hover,
.btn-hero-primary:focus {
    background-color: #e08c00;
    color: #0f2260;
    transform: translateY(-2px);
    outline: none;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 13px 24px;
    background-color: transparent;
    color: #d1d9f0;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid rgba(209, 217, 240, 0.4);
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
    font-family: inherit;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    border-color: #d1d9f0;
    background-color: rgba(209, 217, 240, 0.1);
    color: #fff;
    outline: none;
}

/* Hero visual */
.hero-visual-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.hero-visual-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-visual-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #be185d;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-visual-rec {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(0,0,0,0.6);
    color: #ff3333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.rec-dot {
    width: 8px;
    height: 8px;
    background-color: #ff3333;
    border-radius: 50%;
    animation: rec-blink 1.2s step-end infinite;
}

@keyframes rec-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* =============================================
   SKILLS SECTION - PROGRESS CIRCLES
   ============================================= */
.skills-section {
    background-color: #fff;
    padding: 72px 0 80px;
    border-bottom: 1px solid #e4e8f4;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 24px 16px;
    background-color: #f8faff;
    border-radius: 14px;
    border: 1px solid #e4e8f4;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
    border-color: #c8d4f0;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.08);
}

.skill-circle-wrap {
    position: relative;
    width: 100px;
    height: 100px;
}

.skill-svg {
    transform: rotate(0deg);
}

.skill-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.skill-icon {
    line-height: 1;
}

.skill-icon svg {
    display: block;
}

.skill-pct {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
}

.skill-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #3a4870;
    text-align: center;
    margin: 0;
}

.skills-note {
    font-size: 0.82rem;
    color: #7888b0;
    text-align: center;
    font-style: italic;
    margin: 0;
}

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

/* FEATURED ARTICLES */
.featured-articles {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 28px;
    margin-bottom: 40px;
}

.featured-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e4e8f4;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.featured-card:hover {
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
    transform: translateY(-3px);
}

.featured-card__img-wrap {
    position: relative;
    overflow: hidden;
}

.featured-card--main .featured-card__img-wrap img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.featured-card--secondary .featured-card__img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.featured-card__cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    background-color: #1e3a8a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.featured-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.featured-card__meta time,
.featured-card__read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #6070a0;
}

.featured-card__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f2260;
    line-height: 1.3;
    margin-bottom: 12px;
}

.featured-card--secondary .featured-card__title {
    font-size: 1rem;
}

.featured-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.featured-card__title a:hover,
.featured-card__title a:focus {
    color: #be185d;
    outline: none;
}

.featured-card__excerpt {
    font-size: 0.9rem;
    color: #4a5888;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* RECENT ARTICLES */
.recent-articles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.article-card {
    background-color: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e4e8f4;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
    box-shadow: 0 8px 28px rgba(30, 58, 138, 0.1);
    transform: translateY(-3px);
}

.article-card__img-wrap {
    position: relative;
    overflow: hidden;
}

.article-card__img-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.article-card__cat {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background-color: #be185d;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

.article-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.article-card__meta time,
.article-card__read {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #6070a0;
}

.article-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f2260;
    line-height: 1.35;
    margin-bottom: 10px;
}

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

.article-card__title a:hover,
.article-card__title a:focus {
    color: #be185d;
    outline: none;
}

.article-card__excerpt {
    font-size: 0.83rem;
    color: #4a5888;
    line-height: 1.55;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   CATEGORIES SECTION
   ============================================= */
.categories-section {
    background-color: #0f2260;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cat-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cat-deco--1 {
    width: 400px;
    height: 400px;
    background-color: #1e3a8a;
    top: -200px;
    right: -100px;
}

.cat-deco--2 {
    width: 250px;
    height: 250px;
    background-color: #be185d;
    bottom: -100px;
    left: 10%;
}

.categories-section .container {
    position: relative;
    z-index: 2;
}

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

.category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
    color: inherit;
}

.category-card:hover,
.category-card:focus {
    background-color: rgba(255,255,255,0.12);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
    outline: none;
}

.category-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: rgba(255,255,255,0.08);
    border: 1.5px solid currentColor;
    flex-shrink: 0;
}

.category-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.category-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.category-card__desc {
    font-size: 0.8rem;
    color: #8898c0;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card__count {
    font-size: 0.75rem;
    font-weight: 600;
    color: #f59e0b;
    display: block;
}

.category-card__arrow {
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.category-card:hover .category-card__arrow {
    color: #f59e0b;
    transform: translateX(4px);
}

/* =============================================
   COMPARISON TOOL
   ============================================= */
.compare-section {
    background-color: #fff;
    padding: 80px 0;
    border-bottom: 1px solid #e4e8f4;
}

.compare-tool {
    border: 1.5px solid #dde3f4;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.compare-tabs {
    display: flex;
    background-color: #f0f3fb;
    border-bottom: 1.5px solid #dde3f4;
    overflow-x: auto;
}

.compare-tab {
    flex: 1;
    min-width: 100px;
    padding: 14px 20px;
    background: none;
    border: none;
    border-right: 1px solid #dde3f4;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a5888;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.compare-tab:last-child {
    border-right: none;
}

.compare-tab:hover,
.compare-tab:focus {
    background-color: #e4e8f4;
    outline: none;
}

.compare-tab--active {
    background-color: #fff;
    color: #1e3a8a;
    border-bottom: 2px solid #f59e0b;
}

.compare-panels {
    padding: 28px;
}

.compare-panel {
    display: none;
}

.compare-panel--active {
    display: block;
}

.compare-panel__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.compare-panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    flex-shrink: 0;
}

.compare-panel__title {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f2260;
}

.compare-panel__sub {
    display: block;
    font-size: 0.85rem;
    color: #6070a0;
    margin-top: 2px;
}

.compare-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1.5px solid #e4e8f4;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.compare-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e4e8f4;
    padding: 14px 20px;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row:nth-child(odd) {
    background-color: #f8faff;
}

.compare-row__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e3a8a;
    width: 200px;
    flex-shrink: 0;
}

.compare-row__val {
    font-size: 0.88rem;
    color: #3a4870;
}

.compare-tag {
    display: inline-block;
    padding: 5px 14px;
    background-color: #dbeafe;
    color: #1e3a8a;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 20px;
}

.compare-tag--pink {
    background-color: #fce7f3;
    color: #be185d;
}

.compare-tag--amber {
    background-color: #fef3c7;
    color: #92400e;
}

.compare-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #6070a0;
    font-style: italic;
    margin: 0;
}

.compare-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #f59e0b;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-section {
    background-color: #f4f6fb;
    padding: 80px 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background-color: #fff;
    border: 1.5px solid #dde3f4;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
    border-color: #1e3a8a;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: background-color 0.2s;
}

.faq-question:hover,
.faq-question:focus {
    background-color: #f8faff;
    outline: none;
}

.faq-question__tag {
    flex-shrink: 0;
    padding: 3px 10px;
    background-color: #dbeafe;
    color: #1e3a8a;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.faq-question__text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f2260;
    line-height: 1.4;
}

.faq-question__icon {
    flex-shrink: 0;
    color: #6070a0;
    transition: transform 0.25s;
}

.faq-question[aria-expanded="true"] .faq-question__icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer p {
    font-size: 0.92rem;
    color: #4a5888;
    line-height: 1.7;
    margin: 0;
    padding-top: 4px;
    border-top: 1px solid #e4e8f4;
    padding-top: 16px;
}

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

.newsletter-wrap {
    display: flex;
    align-items: center;
    gap: 48px;
}

.newsletter-visual {
    position: relative;
    flex-shrink: 0;
}

.newsletter-icon-wrap {
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
    background-color: #be185d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-pulse {
    position: absolute;
    inset: -12px;
    background-color: rgba(190, 24, 93, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.newsletter-content {
    flex: 1;
}

.newsletter-label {
    display: inline-block;
    padding: 5px 14px;
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    border-radius: 20px;
    margin-bottom: 14px;
}

.newsletter-title {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.25;
}

.newsletter-desc {
    font-size: 0.95rem;
    color: #a8bde4;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 520px;
}

.newsletter-form__group {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin-bottom: 12px;
}

.newsletter-form__group input {
    flex: 1;
    padding: 13px 18px;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.95rem;
    font-size: 16px;
    transition: border-color 0.2s;
}

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

.newsletter-form__group input:focus {
    border-color: #f59e0b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
    background-color: rgba(255,255,255,0.15);
}

.newsletter-form__group button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background-color: #f59e0b;
    color: #0f2260;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.newsletter-form__group button:hover,
.newsletter-form__group button:focus {
    background-color: #e08c00;
    outline: none;
}

.newsletter-legal {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.newsletter-msg {
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 8px;
    min-height: 20px;
}

.newsletter-msg.success {
    color: #6ee7b7;
}

.newsletter-msg.error {
    color: #fca5a5;
}

/* =============================================
   DISCLAIMER
   ============================================= */
.disclaimer-home {
    background-color: #fffbeb;
    border-top: 3px solid #f59e0b;
    padding: 20px 0;
}

.disclaimer-home__inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

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

.disclaimer-home__inner p {
    font-size: 0.85rem;
    color: #78450f;
    line-height: 1.55;
    margin: 0;
}

.disclaimer-home__inner strong {
    color: #5a3008;
}

/* ===== RESPONSIVE (auto-repair) ===== */
@media (max-width: 1024px) {
    .hero-diagonal__content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
        padding-top: 56px;
        padding-bottom: 48px;
    }

    .hero-diagonal__title {
        font-size: 2.4rem;
    }

    .hero-diagonal__desc {
        font-size: 1rem;
    }

    .hero-visual-frame img {
        height: 320px;
    }

    .hero-diagonal__filmstrip {
        width: 44px;
    }

    .filmstrip-frame {
        width: 36px;
        height: 28px;
    }

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

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

    .featured-card--main .featured-card__img-wrap img {
        height: 220px;
    }

    .featured-card--secondary .featured-card__img-wrap img {
        height: 160px;
    }

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

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

    .compare-row__label {
        width: 160px;
    }

    .newsletter-wrap {
        gap: 32px;
    }

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

    .newsletter-icon-wrap {
        width: 80px;
        height: 80px;
    }

    .skills-section {
        padding: 56px 0 64px;
    }

    .articles-section {
        padding: 56px 0 64px;
    }

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

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

    .faq-section {
        padding: 64px 0;
    }

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

@media (max-width: 768px) {
    .hero-diagonal {
        padding-bottom: 60px;
    }

    .hero-diagonal__filmstrip {
        display: none;
    }

    .hero-diagonal__shape--1 {
        width: 300px;
        height: 300px;
        top: -120px;
        right: -80px;
    }

    .hero-diagonal__shape--2 {
        width: 180px;
        height: 180px;
        bottom: -60px;
        left: -40px;
    }

    .hero-diagonal__shape--3 {
        width: 90px;
        height: 90px;
        top: 30px;
        left: 30%;
    }

    .hero-diagonal__content {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-diagonal__title {
        font-size: 2rem;
    }

    .hero-diagonal__desc {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-diagonal__actions {
        gap: 12px;
    }

    .btn-hero-primary {
        padding: 12px 22px;
        font-size: 0.9rem;
    }

    .btn-hero-secondary {
        padding: 11px 18px;
        font-size: 0.9rem;
    }

    .hero-visual-frame img {
        height: 260px;
    }

    .hero-visual-badge {
        bottom: 12px;
        left: 12px;
        padding: 10px 12px;
        font-size: 0.78rem;
    }

    .hero-visual-rec {
        top: 12px;
        right: 12px;
        padding: 5px 10px;
        font-size: 0.72rem;
    }

    .hero-diagonal__cut {
        height: 40px;
    }

    .skills-section {
        padding: 44px 0 52px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-bottom: 20px;
    }

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

    .skill-circle-wrap {
        width: 80px;
        height: 80px;
    }

    .articles-section {
        padding: 44px 0 52px;
    }

    .featured-articles {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }

    .featured-card--main .featured-card__img-wrap img {
        height: 220px;
    }

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

    .featured-card__title {
        font-size: 1.05rem;
    }

    .featured-card--secondary .featured-card__title {
        font-size: 0.95rem;
    }

    .featured-card__body {
        padding: 18px;
    }

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

    .article-card__img-wrap img {
        height: 150px;
    }

    .article-card__body {
        padding: 14px;
    }

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

    .cat-deco--1 {
        width: 260px;
        height: 260px;
        top: -130px;
        right: -70px;
    }

    .cat-deco--2 {
        width: 160px;
        height: 160px;
        bottom: -70px;
    }

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

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

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

    .category-card__name {
        font-size: 0.88rem;
    }

    .category-card__desc {
        font-size: 0.75rem;
    }

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

    .compare-panels {
        padding: 20px;
    }

    .compare-tab {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .compare-row {
        flex-wrap: wrap;
        gap: 6px;
        padding: 12px 16px;
    }

    .compare-row__label {
        width: 100%;
        font-size: 0.8rem;
    }

    .compare-row__val {
        font-size: 0.83rem;
    }

    .compare-panel__header {
        gap: 12px;
        margin-bottom: 18px;
    }

    .compare-panel__icon {
        width: 44px;
        height: 44px;
    }

    .compare-panel__title {
        font-size: 1rem;
    }

    .faq-section {
        padding: 52px 0;
    }

    .faq-question {
        padding: 16px 16px;
        gap: 10px;
    }

    .faq-question__text {
        font-size: 0.9rem;
    }

    .faq-question__tag {
        display: none;
    }

    .faq-answer {
        padding: 0 16px 16px 16px;
    }

    .faq-answer p {
        font-size: 0.88rem;
    }

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

    .newsletter-wrap {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .newsletter-visual {
        align-self: flex-start;
    }

    .newsletter-icon-wrap {
        width: 72px;
        height: 72px;
    }

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

    .newsletter-desc {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    .newsletter-form__group {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }

    .newsletter-form__group input {
        width: 100%;
    }

    .newsletter-form__group button {
        width: 100%;
        justify-content: center;
        padding: 13px 18px;
    }

    .disclaimer-home__inner p {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .hero-diagonal {
        padding-bottom: 48px;
    }

    .hero-diagonal__shape--1 {
        width: 200px;
        height: 200px;
        top: -80px;
        right: -60px;
    }

    .hero-diagonal__shape--2 {
        width: 120px;
        height: 120px;
    }

    .hero-diagonal__shape--3 {
        display: none;
    }

    .hero-diagonal__content {
        gap: 24px;
        padding-top: 32px;
        padding-bottom: 32px;
    }

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

    .hero-diagonal__title {
        font-size: 1.65rem;
        margin-bottom: 14px;
    }

    .hero-diagonal__desc {
        font-size: 0.88rem;
        margin-bottom: 22px;
    }

    .hero-diagonal__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-hero-primary {
        justify-content: center;
        padding: 13px 18px;
        font-size: 0.88rem;
    }

    .btn-hero-secondary {
        justify-content: center;
        padding: 12px 18px;
        font-size: 0.88rem;
    }

    .hero-visual-frame img {
        height: 210px;
    }

    .hero-visual-badge {
        font-size: 0.72rem;
        padding: 8px 10px;
        bottom: 10px;
        left: 10px;
    }

    .hero-visual-rec {
        font-size: 0.68rem;
        padding: 4px 8px;
        top: 10px;
        right: 10px;
    }

    .skills-section {
        padding: 36px 0 44px;
    }

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

    .skill-card {
        padding: 14px 8px;
        gap: 8px;
        border-radius: 10px;
    }

    .skill-circle-wrap {
        width: 68px;
        height: 68px;
    }

    .skill-pct {
        font-size: 0.75rem;
    }

    .skill-label {
        font-size: 0.75rem;
    }

    .skills-note {
        font-size: 0.75rem;
    }

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

    .featured-articles {
        gap: 14px;
        margin-bottom: 20px;
    }

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

    .featured-card--secondary .featured-card__img-wrap img {
        height: 150px;
    }

    .featured-card__body {
        padding: 14px;
    }

    .featured-card__title {
        font-size: 0.95rem;
    }

    .featured-card--secondary .featured-card__title {
        font-size: 0.88rem;
    }

    .featured-card__excerpt {
        font-size: 0.82rem;
    }

    .featured-card__meta {
        gap: 10px;
        margin-bottom: 8px;
    }

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

    .article-card__img-wrap img {
        height: 170px;
    }

    .article-card__body {
        padding: 12px;
    }

    .article-card__title {
        font-size: 0.88rem;
    }

    .article-card__excerpt {
        font-size: 0.78rem;
    }

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

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

    .category-card {
        padding: 14px 12px;
        gap: 12px;
    }

    .category-card__icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .category-card__name {
        font-size: 0.85rem;
    }

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

    .compare-panels {
        padding: 14px;
    }

    .compare-tab {
        padding: 10px 11px;
        font-size: 0.78rem;
        min-width: 80px;
    }

    .compare-row {
        padding: 10px 12px;
    }

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

    .compare-row__val {
        font-size: 0.8rem;
    }

    .compare-tag {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .compare-panel__title {
        font-size: 0.92rem;
    }

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

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

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

    .faq-question {
        padding: 14px 14px;
        gap: 8px;
    }

    .faq-question__text {
        font-size: 0.85rem;
    }

    .faq-answer {
        padding: 0 14px 14px 14px;
    }

    .faq-answer p {
        font-size: 0.84rem;
        line-height: 1.6;
    }

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

    .newsletter-icon-wrap {
        width: 60px;
        height: 60px;
    }

    .newsletter-pulse {
        inset: -8px;
    }

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

    .newsletter-desc {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .newsletter-label {
        font-size: 0.72rem;
        padding: 4px 11px;
        margin-bottom: 10px;
    }

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

    .newsletter-form__group button {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .newsletter-legal {
        font-size: 0.72rem;
    }

    .disclaimer-home {
        padding: 14px 0;
    }

    .disclaimer-home__inner p {
        font-size: 0.78rem;
    }
}