/*
Theme Name: FlexStoneInsight_9935
Theme URI: https://atlantgk.ru
Author: Седов Дмитрий
Author URI: https://atlantgk.ru
Description: Тема для информационного сайта о гибком камне: свойства, применение, монтаж, преимущества и фотогалерея.
Version: 1.1
Text Domain: flexstoneinsight
*/

/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --bg-primary: #F9F6F0;
    --text-main: #2C2A28;
    --accent-terracotta: #C25A3A;
    --accent-terracotta-dark: #A84830;
    --accent-moss: #6F8F7A;
    --accent-moss-dark: #5A7A64;
    --line-shell: #DCD3C6;
    --slate-dark: #3E4A42;
    --white-card: #FFFFFF;
    --bg-footer: #2C2A28;
    --text-footer: #E8E2D8;
    --radius-sm: 4px;
    --radius-md: 8px;
    --shadow-card: 0 2px 12px rgba(44, 42, 40, 0.08);
    --shadow-hover: 0 6px 24px rgba(44, 42, 40, 0.14);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
    --transition-base: 0.25s ease;
}

/* ===== СБРОС И ОСНОВА ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='60' height='60' filter='none' opacity='0.03'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-terracotta); text-decoration: none; transition: color var(--transition-base); }
a:hover { color: var(--accent-terracotta-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 0.6em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }
ul, ol { margin-bottom: 1em; padding-left: 1.5em; }
li { margin-bottom: 0.3em; }

/* ===== ТАБЛИЦЫ ===== */
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
th, td { border: 1px solid var(--line-shell); padding: 0.6em 0.9em; text-align: left; }
th { background-color: rgba(111, 143, 122, 0.12); font-weight: 600; }

/* ===== КОНТЕЙНЕР ===== */
.fsi-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ШАПКА ===== */
.fsi-header {
    background: var(--white-card);
    border-bottom: 2px solid var(--line-shell);
    padding: 0;
}

.fsi-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.fsi-logo-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fsi-logo-block img,
.fsi-logo-block svg {
    max-height: 48px;
    width: auto;
}

.fsi-site-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

.fsi-site-title a { color: var(--text-main); }
.fsi-site-title a:hover { color: var(--accent-terracotta); }

/* ===== НАВИГАЦИЯ ===== */
.fsi-nav {
    display: flex;
    align-items: center;
}

.fsi-nav ul {
    list-style: none;
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.fsi-nav ul li a {
    display: block;
    padding: 8px 16px;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-base), color var(--transition-base);
}

.fsi-nav ul li a:hover,
.fsi-nav ul li.current-menu-item a,
.fsi-nav ul li.current_page_item a {
    background: var(--accent-terracotta);
    color: #fff;
}

.fsi-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.fsi-burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* ===== КНОПКИ ===== */
.fsi-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    text-align: center;
    line-height: 1.4;
}

.fsi-btn-primary {
    background: var(--accent-terracotta);
    color: #fff;
    box-shadow: 0 3px 0 var(--accent-terracotta-dark), var(--shadow-card);
    border-bottom: 3px solid transparent;
    border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='4'%3E%3Cpath d='M0 2 Q10 0 20 2 Q30 4 40 2 Q50 0 60 2 Q70 4 80 2' stroke='%23A84830' fill='none' stroke-width='2'/%3E%3C/svg%3E") 0 0 3 0 stretch;
}

.fsi-btn-primary:hover {
    background: var(--slate-dark);
    color: #fff;
    transform: translateY(2px);
    box-shadow: 0 1px 0 #2a3630, var(--shadow-card);
}

.fsi-btn-outline {
    background: transparent;
    color: var(--accent-terracotta);
    border: 2px dashed var(--accent-terracotta);
    border-radius: var(--radius-sm);
}

.fsi-btn-outline:hover {
    background: var(--accent-terracotta);
    color: #fff;
    border-style: solid;
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.fsi-breadcrumbs {
    padding: 14px 0;
    font-size: 0.88rem;
    color: #8a8580;
}

.fsi-breadcrumbs a { color: var(--accent-moss); }
.fsi-breadcrumbs a:hover { color: var(--accent-terracotta); }
.fsi-breadcrumbs .fsi-crumb-sep { margin: 0 6px; color: var(--line-shell); }

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.fsi-hero {
    background: linear-gradient(135deg, #3E4A42 0%, #2C2A28 100%);
    color: #F9F6F0;
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.fsi-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='none' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
}

.fsi-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.fsi-hero h1 {
    color: #F9F6F0;
    font-size: 2.6rem;
    margin-bottom: 0.5em;
}

.fsi-hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 1.5em;
    line-height: 1.8;
}

/* ===== БЛОКИ СВОЙСТВ НА ГЛАВНОЙ ===== */
.fsi-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.fsi-feature-card {
    background: var(--white-card);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border-top: 3px solid var(--accent-moss);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
}

.fsi-feature-card:nth-child(2) {
    border-top-color: var(--accent-terracotta);
    transform: translateY(12px);
}

.fsi-feature-card:nth-child(3) {
    border-top-color: var(--line-shell);
    transform: translateY(-6px);
}

.fsi-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.fsi-feature-card h3 { color: var(--slate-dark); margin-bottom: 0.8em; }

.fsi-feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    color: var(--accent-terracotta);
}

/* ===== КАРТОЧКИ ЗАПИСЕЙ ===== */
.fsi-posts-section { margin-bottom: 50px; }

.fsi-posts-section > h2 {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.fsi-posts-section > h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-terracotta);
    margin: 12px auto 0;
    border-radius: 2px;
}

.fsi-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.fsi-post-card {
    background: var(--white-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.fsi-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.fsi-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.fsi-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fsi-card-meta {
    font-size: 0.82rem;
    color: #9a9590;
    margin-bottom: 8px;
    display: flex;
    gap: 14px;
}

.fsi-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.fsi-card-title a { color: var(--text-main); }
.fsi-card-title a:hover { color: var(--accent-terracotta); }

.fsi-card-excerpt {
    font-size: 0.93rem;
    color: #5a5550;
    flex: 1;
    line-height: 1.65;
    margin-bottom: 14px;
}

.fsi-card-more {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-terracotta);
    align-self: flex-start;
}

.fsi-card-more:hover { color: var(--accent-terracotta-dark); }

/* ===== КОНТЕНТ ===== */
.fsi-content-area {
    max-width: 85%;
    margin: 0 auto;
    padding: 30px 0 50px;
}

.fsi-layout-with-sidebar {
    display: flex;
    gap: 40px;
    padding: 30px 0 50px;
}

.fsi-main-col {
    flex: 0 0 67%;
    max-width: 67%;
    min-width: 0;
}

.fsi-sidebar-col {
    flex: 0 0 27%;
    max-width: 27%;
    min-width: 0;
}

.fsi-content-full {
    max-width: 85%;
    margin: 0 auto;
    padding: 30px 0 50px;
}

/* ===== САЙДБАР ===== */
.fsi-sidebar-col .widget {
    background: var(--white-card);
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
}

.fsi-sidebar-col .widget-title,
.fsi-sidebar-col .widgettitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--line-shell);
    color: var(--slate-dark);
}

.fsi-sidebar-col .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fsi-sidebar-col .widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(220, 211, 198, 0.4);
}

.fsi-sidebar-col .widget ul li:last-child { border-bottom: none; }
.fsi-sidebar-col .widget ul li a { color: var(--text-main); font-size: 0.93rem; }
.fsi-sidebar-col .widget ul li a:hover { color: var(--accent-terracotta); }

/* ===== ПУЛЬС КАМНЯ (Сайдбар) ===== */
.fsi-pulse-widget {
    background: var(--white-card);
    padding: 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
    text-align: center;
}

.fsi-pulse-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 14px;
    color: var(--slate-dark);
}

.fsi-pulse-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto 14px;
    position: relative;
}

.fsi-pulse-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.fsi-pulse-ring .fsi-ring-track {
    fill: none;
    stroke: var(--line-shell);
    stroke-width: 8;
}

.fsi-pulse-ring .fsi-ring-fill {
    fill: none;
    stroke: var(--accent-moss);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 80;
    animation: fsiPulseAnim 3s ease-in-out infinite alternate;
}

@keyframes fsiPulseAnim {
    0% { stroke-dashoffset: 100; stroke: var(--accent-moss); }
    50% { stroke-dashoffset: 60; stroke: var(--accent-terracotta); }
    100% { stroke-dashoffset: 90; stroke: var(--accent-moss-dark); }
}

.fsi-pulse-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--slate-dark);
}

.fsi-pulse-label {
    font-size: 0.82rem;
    color: #8a8580;
    margin-top: 4px;
}

/* ===== ОДИНОЧНАЯ ЗАПИСЬ ===== */
.fsi-single-header { margin-bottom: 24px; }

.fsi-single-header h1 { margin-bottom: 10px; }

.fsi-single-meta {
    font-size: 0.88rem;
    color: #8a8580;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.fsi-entry-content h2 { margin-top: 1.5em; }
.fsi-entry-content h3 { margin-top: 1.2em; }
.fsi-entry-content img { border-radius: var(--radius-sm); margin: 1em 0; }

.fsi-entry-content blockquote {
    border-left: 4px solid var(--accent-moss);
    background: rgba(111, 143, 122, 0.08);
    padding: 16px 20px;
    margin: 1.2em 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

/* ===== КОММЕНТАРИИ ===== */
.fsi-comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--line-shell);
}

.fsi-comments-area h2 { font-size: 1.4rem; margin-bottom: 20px; }

.fsi-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fsi-comment-list .comment {
    padding: 18px 0;
    border-bottom: 1px solid rgba(220, 211, 198, 0.5);
}

.fsi-comment-list .comment .comment-author {
    font-weight: 600;
    margin-bottom: 4px;
}

.fsi-comment-list .comment .comment-meta { font-size: 0.82rem; color: #8a8580; margin-bottom: 8px; }

.comment-respond { margin-top: 30px; }
.comment-respond .comment-reply-title { font-size: 1.2rem; margin-bottom: 16px; }

.comment-respond label { display: block; margin-bottom: 4px; font-weight: 500; font-size: 0.9rem; }

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line-shell);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 14px;
    background: var(--white-card);
    transition: border-color var(--transition-base);
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    outline: none;
    border-color: var(--accent-moss);
}

.comment-respond .submit {
    background: var(--accent-terracotta);
    color: #fff;
    border: none;
    padding: 10px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-base);
}

.comment-respond .submit:hover { background: var(--slate-dark); }

/* ===== ФОРМА ПОИСКА ===== */
.fsi-search-form {
    display: flex;
    gap: 0;
    max-width: 480px;
}

.fsi-search-input {
    flex: 1;
    padding: 10px 16px;
    border: 2px solid var(--line-shell);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--white-card);
}

.fsi-search-input:focus { outline: none; border-color: var(--accent-moss); }

.fsi-search-submit {
    padding: 10px 20px;
    background: var(--accent-terracotta);
    color: #fff;
    border: 2px solid var(--accent-terracotta);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-base);
}

.fsi-search-submit:hover { background: var(--slate-dark); border-color: var(--slate-dark); }

/* ===== ПАГИНАЦИЯ ===== */
.fsi-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.fsi-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 2px solid var(--line-shell);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    background: var(--white-card);
    transition: all var(--transition-base);
}

.fsi-pagination .page-numbers:hover {
    border-color: var(--accent-terracotta);
    color: var(--accent-terracotta);
}

.fsi-pagination .page-numbers.current {
    background: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    color: #fff;
}

.fsi-pagination .page-numbers.dots { border: none; background: none; }

/* ===== 404 ===== */
.fsi-404-area {
    text-align: center;
    padding: 60px 0;
}

.fsi-404-area h1 { font-size: 5rem; color: var(--accent-terracotta); margin-bottom: 10px; }
.fsi-404-area h2 { margin-bottom: 20px; }
.fsi-404-area p { margin-bottom: 24px; color: #6a6560; }
.fsi-404-area .fsi-search-form { margin: 0 auto 24px; }

/* ===== ПОДВАЛ ===== */
.fsi-footer {
    background: var(--bg-footer);
    color: var(--text-footer);
    padding: 40px 0 0;
}

.fsi-footer a { color: var(--accent-moss); }
.fsi-footer a:hover { color: #9ab8a6; }

.fsi-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.fsi-footer-col .widget-title,
.fsi-footer-col .widgettitle {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(220, 211, 198, 0.2);
}

.fsi-footer-col .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fsi-footer-col .widget ul li {
    padding: 4px 0;
}

.fsi-footer-col .widget ul li a {
    font-size: 0.9rem;
}

.fsi-footer-bottom {
    border-top: 1px solid rgba(220, 211, 198, 0.15);
    padding: 18px 0;
    text-align: center;
    font-size: 0.88rem;
    color: #9a9590;
}

/* ===== COOKIE-БАННЕР ===== */
.fsi-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-footer);
    color: var(--text-footer);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    flex-wrap: wrap;
}

.fsi-cookie-bar p { margin: 0; font-size: 0.9rem; }

.fsi-cookie-accept {
    background: var(--accent-terracotta);
    color: #fff;
    border: none;
    padding: 8px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-base);
    white-space: nowrap;
}

.fsi-cookie-accept:hover { background: var(--slate-dark); }

.fsi-cookie-bar.fsi-hidden { display: none; }

/* ===== ЧАСТИЦЫ (осыпание) ===== */
.fsi-particles {
    position: fixed;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.fsi-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--line-shell);
    border-radius: 50%;
    opacity: 0;
    animation: fsiParticleFall linear infinite;
}

.fsi-particle:nth-child(1) { left: 5px; animation-duration: 6s; animation-delay: 0s; }
.fsi-particle:nth-child(2) { left: 15px; animation-duration: 8s; animation-delay: 1.5s; }
.fsi-particle:nth-child(3) { left: 10px; animation-duration: 7s; animation-delay: 3s; }
.fsi-particle:nth-child(4) { left: 20px; animation-duration: 9s; animation-delay: 0.8s; }
.fsi-particle:nth-child(5) { left: 8px; animation-duration: 6.5s; animation-delay: 2.2s; }

@keyframes fsiParticleFall {
    0% { top: -5px; opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.3; }
    100% { top: 100%; opacity: 0; }
}

/* ===== ПЕРЕКЛЮЧАТЕЛЬ ТЕОРИЯ/ПРАКТИКА ===== */
.fsi-mode-toggle {
    display: flex;
    background: rgba(220, 211, 198, 0.3);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}

.fsi-mode-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 18px;
    color: var(--text-main);
    transition: all var(--transition-base);
}

.fsi-mode-btn.fsi-active {
    background: var(--white-card);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    color: var(--accent-terracotta);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 960px) {
    .fsi-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fsi-feature-card:nth-child(2),
    .fsi-feature-card:nth-child(3) {
        transform: none;
    }

    .fsi-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fsi-layout-with-sidebar {
        flex-direction: column;
    }

    .fsi-main-col,
    .fsi-sidebar-col {
        flex: none;
        max-width: 100%;
    }

    .fsi-content-area,
    .fsi-content-full {
        max-width: 95%;
    }

    .fsi-hero h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
    .fsi-header-inner { padding: 10px 15px; }

    .fsi-burger { display: flex; }

    .fsi-nav {
        display: none;
        width: 100%;
        order: 10;
    }

    .fsi-nav.fsi-nav-open { display: flex; }

    .fsi-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 2px;
    }

    .fsi-nav ul li a {
        padding: 10px 14px;
    }

    .fsi-mode-toggle { display: none; }

    .fsi-features-grid {
        grid-template-columns: 1fr;
    }

    .fsi-cards-grid {
        grid-template-columns: 1fr;
    }

    .fsi-hero { padding: 36px 0; }
    .fsi-hero h1 { font-size: 1.6rem; }
    .fsi-hero p { font-size: 1rem; }

    .fsi-content-area,
    .fsi-content-full {
        max-width: 100%;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }

    .fsi-cookie-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
