* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #e8eef5;
    --bg-secondary: #dce4ed;
    --bg-dark: #1e2530;
    --text-primary: #1a1f26;
    --text-secondary: #4a5568;
    --accent-blue: #4a9eff;
    --accent-teal: #00d4aa;
    --sidebar-width: 80px;
    --header-height: 64px;
    /* Liquid glass */
    --glass-white: rgba(255, 255, 255, 0.45);
    --glass-white-strong: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-border-dark: rgba(0, 0, 0, 0.06);
    --glass-blur: 16px;
    --glass-blur-strong: 24px;
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.12);
    --glass-shadow-soft: 0 4px 24px rgba(31, 38, 135, 0.08);
    --glass-dark: rgba(30, 37, 48, 0.75);
    --glass-dark-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #e0e8f2 0%, #d4dce8 35%, #e8eef5 70%, #dce2ec 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: var(--header-height);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: var(--header-height);
    box-sizing: border-box;
    background: var(--glass-white);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 12px 24px;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-soft);
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 200;
}

.header-logo {
    display: block;
    flex-shrink: 0;
    color: var(--text-primary);
    transition: opacity 0.2s ease;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-logo img {
    display: block;
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: 40px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--text-secondary);
}

.main-content {
    display: flex;
    min-height: 0;
    position: relative;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--glass-dark);
    backdrop-filter: blur(var(--glass-blur-strong));
    -webkit-backdrop-filter: blur(var(--glass-blur-strong));
    border-right: 1px solid var(--glass-dark-border);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.06);
    position: fixed;
    left: 0;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 100;
    padding: 20px 0 28px 0;
    box-sizing: border-box;
}

.sidebar-icons {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: center;
}

.sidebar-icon {
    display: block;
    padding: 4px;
    border-radius: 6px;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.sidebar-icon:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-icon[aria-current="page"] {
    background: rgba(74, 158, 255, 0.4);
    backdrop-filter: blur(6px);
    border-radius: 6px;
}

.sidebar-icon img {
    display: block;
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.sidebar-icon:hover img,
.sidebar-icon[aria-current="page"] img {
    opacity: 1;
}

.sidebar-icon:hover img {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(195deg);
}

.content-area {
    margin-left: var(--sidebar-width);
    flex: 1;
    background: var(--glass-white-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 60px 40px;
    position: relative;
    box-shadow: var(--glass-shadow);
}

.main-title {
    font-size: 72px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 4px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.article-card {
    background: var(--glass-white-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.article-card:nth-child(1) {
    animation-delay: 0.1s;
}

.article-card:nth-child(2) {
    animation-delay: 0.2s;
}

.article-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.18);
    border-color: rgba(255, 255, 255, 0.8);
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(220, 228, 237, 0.5);
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 22px;
}

.article-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.35;
}

.article-content h2 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-content h2 a:hover {
    color: var(--accent-blue);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--glass-border-dark);
}

.article-date {
    color: var(--text-secondary);
    font-size: 14px;
}

.read-more {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-teal);
}

.footer {
    background: var(--glass-dark);
    backdrop-filter: blur(var(--glass-blur-strong));
    -webkit-backdrop-filter: blur(var(--glass-blur-strong));
    border-top: 1px solid var(--glass-dark-border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    color: #ffffff;
    padding: 50px 40px 20px;
    margin-top: 0;
    margin-left: var(--sidebar-width);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section p {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
    color: #b0b0b0;
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-disclaimer p:last-child {
    margin-bottom: 0;
}

.footer-disclaimer strong {
    color: #d0d0d0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaaaaa;
    font-size: 14px;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    background: rgba(30, 37, 48, 0.82);
    backdrop-filter: blur(var(--glass-blur-strong));
    -webkit-backdrop-filter: blur(var(--glass-blur-strong));
    border-top: 1px solid var(--glass-dark-border);
    color: #ffffff;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-content p a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-accept,
.btn-reject {
    padding: 10px 25px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: rgba(74, 158, 255, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 12px rgba(74, 158, 255, 0.2);
}

.btn-accept:hover {
    background: rgba(58, 142, 239, 0.95);
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.3);
    transform: translateY(-2px);
}

.btn-reject {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.18);
}

.article-page {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-white-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.article-page h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
}

.article-page .article-meta-page {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border-dark);
}

.article-page .article-image-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-page h2 {
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-page h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.article-page p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.article-page ul,
.article-page ol {
    margin-left: 30px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-page li {
    margin-bottom: 10px;
}

.article-page img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

/* Article interactive elements: tables, callouts, steps, keypoints */
.article-table-wrap {
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.article-page .article-table {
    width: 100%;
    min-width: 280px;
    border-collapse: collapse;
    font-size: 16px;
    background: rgba(255,255,255,0.6);
}
.article-page .article-table th,
.article-page .article-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.article-page .article-table th {
    background: rgba(74, 158, 255, 0.12);
    color: var(--text-primary);
    font-weight: 600;
}
.article-page .article-table tr:last-child td { border-bottom: none; }
.article-page .article-table tr:hover td { background: rgba(255,255,255,0.9); }

.article-callout {
    margin: 28px 0;
    padding: 20px 24px;
    border-radius: 12px;
    border-top: 4px solid;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.article-callout--tip { border-top-color: var(--accent-teal); }
.article-callout--important { border-top-color: #e5a84a; }
.article-callout--warning { border-top-color: #c95c5c; }
.article-callout strong { display: block; margin-bottom: 8px; font-size: 17px; }
.article-callout p:last-child { margin-bottom: 0; }

.article-steps {
    margin: 28px 0;
    padding: 24px 28px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.article-steps ol {
    margin: 0;
    padding-left: 28px;
    list-style: none;
    counter-reset: step;
}
.article-steps li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 36px;
    counter-increment: step;
}
.article-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.article-steps li:last-child { margin-bottom: 0; }

.article-keypoints {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 28px 0;
}
.article-keypoint {
    padding: 18px 20px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.article-keypoint strong { color: var(--accent-blue); font-size: 15px; }
.article-keypoint p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }
.article-keypoint p:last-child { margin-bottom: 0; }

.page-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--glass-white-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.page-container h1 {
    font-size: 42px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.page-container h2 {
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.page-container p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-container ul {
    margin-left: 30px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-container li {
    margin-bottom: 10px;
}

.legal-page .legal-updated {
    margin-bottom: 24px;
    font-size: 16px;
    color: var(--text-secondary);
}

.legal-page h2 {
    font-size: 22px;
    margin-top: 32px;
}

.legal-page h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-page a {
    color: var(--accent-blue);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.legal-datos {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.legal-datos li {
    margin-bottom: 8px;
    padding-left: 0;
}

/* Index page sections */
.index-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
    padding: 20px 0;
}

.index-hero .hero-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.index-section {
    max-width: 1200px;
    margin: 0 auto 56px;
}

.index-section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
}

.index-why {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.index-why-item {
    background: var(--glass-white-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-soft);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.index-why-item:hover {
    box-shadow: var(--glass-shadow);
    border-color: rgba(255, 255, 255, 0.85);
}

.index-why-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.index-why-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.index-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.index-categories a {
    display: inline-block;
    padding: 12px 24px;
    background: var(--glass-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid var(--glass-dark-border);
    box-shadow: var(--glass-shadow-soft);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.index-categories a:hover {
    background: rgba(74, 158, 255, 0.75);
    box-shadow: 0 6px 24px rgba(74, 158, 255, 0.25);
    transform: translateY(-2px);
}

.index-commitment {
    background: var(--glass-white-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 36px 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-soft);
}

.index-commitment p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.index-commitment p:last-child {
    margin-bottom: 0;
}

.index-cta {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(135deg, var(--glass-dark) 0%, rgba(26, 33, 42, 0.9) 100%);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-dark-border);
    color: #fff;
    border-radius: 20px;
    margin-top: 20px;
    box-shadow: var(--glass-shadow);
}

.index-cta h2 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #fff;
}

.index-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.index-cta .btn-cta {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(74, 158, 255, 0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(74, 158, 255, 0.2);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.index-cta .btn-cta:hover {
    background: rgba(58, 142, 239, 0.95);
    box-shadow: 0 6px 24px rgba(74, 158, 255, 0.35);
    transform: translateY(-2px);
}

.index-articles-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-align: center;
}

.index-articles-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Article list page: categories */
.articles-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.article-category {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 28px 28px 32px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow-soft);
    position: relative;
    overflow: hidden;
}

.article-category::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(74, 158, 255, 0.08), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(0, 212, 170, 0.08), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.article-category-inner {
    position: relative;
    z-index: 1;
}

.article-category-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.article-category-title::before {
    content: "";
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
}

.article-category + .article-category {
    margin-top: 20px;
}

/* Form elements - liquid glass */
.contact-form {
    margin-top: 30px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-primary); }

.page-container input[type="text"],
.page-container input[type="email"],
.page-container input[type="tel"],
.page-container textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 16px;
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-container .contact-form input[type="text"],
.page-container .contact-form input[type="email"],
.page-container .contact-form input[type="tel"],
.page-container .contact-form textarea {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.page-container input:focus,
.page-container textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.15);
}

.page-container button[type="submit"] {
    background: rgba(74, 158, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(74, 158, 255, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.page-container button[type="submit"]:hover {
    background: rgba(58, 142, 239, 0.95);
    box-shadow: 0 4px 20px rgba(74, 158, 255, 0.3);
    transform: translateY(-1px);
}

.page-container textarea { resize: vertical; min-height: 120px; }

/* Планшеты и маленькие экраны */
@media (max-width: 1024px) {
    .sidebar {
        display: none;
    }

    .content-area {
        margin-left: 0;
        padding: 50px 30px;
    }

    .footer {
        margin-left: 0;
    }

    .cookie-consent {
        left: 0;
    }

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

    .article-page,
    .page-container {
        padding: 40px 30px;
    }
}

/* Планшеты в портретной ориентации */
@media (max-width: 768px) {
    .header {
        padding: 10px 16px;
        gap: 16px;
    }

    .header-logo img {
        width: 36px;
        height: 36px;
    }

    .nav {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .nav-link {
        font-size: 11px;
        letter-spacing: 0.5px;
        padding-bottom: 4px;
    }

    .sidebar {
        display: none;
    }

    .content-area {
        margin-left: 0;
        padding: 30px 20px;
    }

    .main-title {
        font-size: 42px;
        letter-spacing: 2px;
        margin-bottom: 40px;
        line-height: 1.2;
    }

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

    .article-card {
        margin-bottom: 0;
    }

    .article-image {
        height: 180px;
    }

    .article-content {
        padding: 18px;
    }

    .article-content h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .article-excerpt {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 12px;
    }

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

    .footer {
        padding: 40px 24px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 13px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-content p {
        font-size: 13px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .btn-accept,
    .btn-reject {
        flex: 1;
        min-width: 120px;
        padding: 10px 20px;
        font-size: 13px;
    }

    .article-page,
    .page-container {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .article-page h1,
    .page-container h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .article-page .article-meta-page {
        font-size: 13px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .article-page .article-image-main {
        height: 250px;
        margin-bottom: 24px;
    }

    .article-page h2,
    .page-container h2 {
        font-size: 24px;
        margin-top: 32px;
        margin-bottom: 16px;
    }

    .article-page h3,
    .page-container h3 {
        font-size: 20px;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .article-page p,
    .page-container p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    .article-page ul,
    .article-page ol,
    .page-container ul {
        margin-left: 20px;
        margin-bottom: 16px;
        font-size: 16px;
    }

    .article-page li,
    .page-container li {
        margin-bottom: 8px;
    }

    .article-table-wrap {
        margin: 20px 0;
        border-radius: 8px;
    }

    .article-page .article-table {
        font-size: 14px;
    }

    .article-page .article-table th,
    .article-page .article-table td {
        padding: 10px 12px;
    }

    .article-callout {
        margin: 20px 0;
        padding: 16px 18px;
    }

    .article-callout strong {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .article-steps {
        margin: 20px 0;
        padding: 20px 22px;
    }

    .article-steps li {
        margin-bottom: 12px;
        padding-left: 32px;
    }

    .article-steps li::before {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 13px;
    }

    .article-keypoints {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 20px 0;
    }

    .article-keypoint {
        padding: 16px 18px;
    }

    .index-hero {
        padding: 16px 0;
        margin-bottom: 40px;
    }

    .index-hero .hero-lead {
        font-size: 16px;
        line-height: 1.6;
    }

    .index-section {
        margin-bottom: 40px;
    }

    .index-section-title,
    .index-articles-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .index-why {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 16px;
    }

    .index-why-item {
        padding: 22px 20px;
    }

    .index-why-item h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .index-why-item p {
        font-size: 14px;
    }

    .index-categories {
        gap: 12px;
        margin-top: 12px;
    }

    .index-categories a {
        padding: 10px 18px;
        font-size: 13px;
    }

    .index-commitment {
        padding: 24px 20px;
    }

    .index-commitment p {
        font-size: 15px;
        line-height: 1.7;
    }

    .index-articles-intro {
        font-size: 15px;
        margin-bottom: 32px;
        padding: 0 10px;
    }

    .index-cta {
        padding: 32px 20px;
        margin-top: 16px;
    }

    .index-cta h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .index-cta p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .index-cta .btn-cta {
        padding: 12px 28px;
        font-size: 14px;
    }

    .contact-form {
        padding: 24px 20px;
        margin-top: 24px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .page-container input[type="text"],
    .page-container input[type="email"],
    .page-container input[type="tel"],
    .page-container textarea {
        padding: 10px 12px;
        font-size: 15px;
    }

    .page-container button[type="submit"] {
        padding: 11px 26px;
        font-size: 15px;
        width: 100%;
    }

    .page-container textarea {
        min-height: 100px;
    }

    .legal-page h2 {
        font-size: 20px;
        margin-top: 28px;
    }

    .legal-page h3 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .legal-page p {
        font-size: 15px;
    }
}

/* Мобильные телефоны */
@media (max-width: 480px) {
    .header {
        padding: 8px 12px;
        gap: 12px;
        min-height: 56px;
    }

    body {
        padding-top: 56px;
    }

    .header-logo img {
        width: 32px;
        height: 32px;
    }

    .nav {
        gap: 12px;
    }

    .nav-link {
        font-size: 10px;
        letter-spacing: 0.3px;
    }

    .content-area {
        padding: 24px 16px;
    }

    .main-title {
        font-size: 32px;
        letter-spacing: 1px;
        margin-bottom: 32px;
        padding: 0 10px;
    }

    .articles-container {
        gap: 20px;
    }

    .article-image {
        height: 160px;
    }

    .article-content {
        padding: 16px;
    }

    .article-content h2 {
        font-size: 18px;
        line-height: 1.25;
    }

    .article-excerpt {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .article-meta {
        gap: 8px;
        padding-top: 10px;
    }

    .article-date {
        font-size: 12px;
    }

    .read-more {
        font-size: 13px;
    }

    .footer {
        padding: 32px 16px 16px;
    }

    .footer-content {
        gap: 24px;
    }

    .footer-section h3 {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 12px;
    }

    .footer-section ul li {
        margin-bottom: 10px;
    }

    .footer-disclaimer {
        padding-top: 24px;
        margin-bottom: 24px;
    }

    .footer-disclaimer p {
        font-size: 11px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .footer-bottom {
        padding-top: 24px;
        font-size: 12px;
    }

    .cookie-consent {
        padding: 16px;
    }

    .cookie-content p {
        font-size: 12px;
        line-height: 1.5;
    }

    .btn-accept,
    .btn-reject {
        padding: 9px 18px;
        font-size: 12px;
        min-width: 100px;
    }

    .article-page,
    .page-container {
        padding: 24px 16px;
        border-radius: 12px;
    }

    .article-page h1,
    .page-container h1 {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .article-page .article-meta-page {
        font-size: 12px;
        margin-bottom: 20px;
        padding-bottom: 14px;
    }

    .article-page .article-image-main {
        height: 200px;
        margin-bottom: 20px;
    }

    .article-page h2,
    .page-container h2 {
        font-size: 20px;
        margin-top: 28px;
        margin-bottom: 14px;
    }

    .article-page h3,
    .page-container h3 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .article-page p,
    .page-container p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .article-page ul,
    .article-page ol,
    .page-container ul {
        margin-left: 18px;
        margin-bottom: 14px;
        font-size: 15px;
    }

    .article-page li,
    .page-container li {
        margin-bottom: 6px;
    }

    .article-page img {
        margin: 20px 0;
    }

    .article-table-wrap {
        margin: 16px 0;
    }

    .article-page .article-table {
        font-size: 13px;
    }

    .article-page .article-table th,
    .article-page .article-table td {
        padding: 8px 10px;
    }

    .article-callout {
        margin: 16px 0;
        padding: 14px 16px;
    }

    .article-callout strong {
        font-size: 14px;
    }

    .article-steps {
        margin: 16px 0;
        padding: 18px 20px;
    }

    .article-steps li {
        margin-bottom: 10px;
        padding-left: 28px;
    }

    .article-steps li::before {
        width: 22px;
        height: 22px;
        line-height: 22px;
        font-size: 12px;
    }

    .article-keypoints {
        gap: 12px;
        margin: 16px 0;
    }

    .article-keypoint {
        padding: 14px 16px;
    }

    .article-keypoint strong {
        font-size: 14px;
    }

    .article-keypoint p {
        font-size: 14px;
    }

    .index-hero {
        padding: 12px 0;
        margin-bottom: 32px;
    }

    .index-hero .hero-lead {
        font-size: 15px;
        line-height: 1.6;
        padding: 0 4px;
    }

    .index-section {
        margin-bottom: 32px;
    }

    .index-section-title,
    .index-articles-title {
        font-size: 20px;
        margin-bottom: 16px;
        padding: 0 4px;
    }

    .index-why {
        gap: 16px;
        margin-top: 12px;
    }

    .index-why-item {
        padding: 20px 18px;
    }

    .index-why-item h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .index-why-item p {
        font-size: 13px;
    }

    .index-categories {
        gap: 10px;
        margin-top: 10px;
    }

    .index-categories a {
        padding: 9px 16px;
        font-size: 12px;
    }

    .index-commitment {
        padding: 20px 18px;
    }

    .index-commitment p {
        font-size: 14px;
        line-height: 1.6;
    }

    .index-articles-intro {
        font-size: 14px;
        margin-bottom: 28px;
        padding: 0 4px;
    }

    .index-cta {
        padding: 28px 16px;
        margin-top: 12px;
    }

    .index-cta h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .index-cta p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .index-cta .btn-cta {
        padding: 11px 24px;
        font-size: 13px;
    }

    .contact-form {
        padding: 20px 16px;
        margin-top: 20px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .page-container input[type="text"],
    .page-container input[type="email"],
    .page-container input[type="tel"],
    .page-container textarea {
        padding: 9px 11px;
        font-size: 14px;
    }

    .page-container button[type="submit"] {
        padding: 10px 24px;
        font-size: 14px;
    }

    .page-container textarea {
        min-height: 90px;
    }

    .legal-page .legal-updated {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .legal-page h2 {
        font-size: 18px;
        margin-top: 24px;
    }

    .legal-page h3 {
        font-size: 16px;
        margin-top: 18px;
        margin-bottom: 8px;
    }

    .legal-page p {
        font-size: 14px;
    }

    .legal-page ul {
        font-size: 14px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .header {
        padding: 6px 10px;
    }

    .nav {
        gap: 8px;
    }

    .nav-link {
        font-size: 9px;
    }

    .main-title {
        font-size: 28px;
        letter-spacing: 0.5px;
    }

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

    .article-page,
    .page-container {
        padding: 20px 12px;
    }

    .article-page h1,
    .page-container h1 {
        font-size: 24px;
    }

    .index-section-title,
    .index-articles-title {
        font-size: 18px;
    }

    .index-categories a {
        padding: 8px 14px;
        font-size: 11px;
    }
}

