/* 
 * Kazpravda - Центр оптимизации арендных и коммунальных платежей
 * Main Stylesheet
 * Version: 1.0
 * Last updated: 2026-01-10
 */

/* =========================================================
   Table of Contents:
   1. CSS Reset & Base Styles
   2. Typography
   3. Layout & Grid
   4. Header
   5. Navigation
   6. Buttons & Forms
   7. Hero Section
   8. Service Cards
   9. Process Steps
   10. Advantages
   11. Case Studies
   12. News Section
   13. Contact Section
   14. Footer
   15. Cookie Consent
   16. Modals
   17. Inner Pages Styles
   18. Utility Classes
   19. Accessibility
   20. Media Queries
   ========================================================= */

/* =========================================================
   1. CSS Reset & Base Styles
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333333;
    background-color: #F8F9FA;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: #4A6FA5;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #1A365D;
    text-decoration: underline;
}

ul, ol {
    list-style: none;
}

/* =========================================================
   2. Typography
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #1A365D;
}

h1 {
    font-size: 4.2rem;
    margin-bottom: 2.5rem;
}

h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h5 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

h6 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.6rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 6rem;
    height: 0.3rem;
    background-color: #E63946;
    margin: 1.5rem auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: #6C757D;
    margin-bottom: 4rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.page-description {
    font-size: 2rem;
    text-align: center;
    max-width: 80rem;
    margin: 0 auto 2rem;
    color: #495057;
}

.policy-date {
    text-align: center;
    font-size: 1.4rem;
    color: #6C757D;
    margin-bottom: 3rem;
}

/* =========================================================
   3. Layout & Grid
   ========================================================= */
.container {
    width: 100%;
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.page-header {
    background-color: #F1F3F5;
    padding: 6rem 0 4rem;
    margin-bottom: 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1.5rem;
}

.col {
    padding: 0 1.5rem;
    flex: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.systems-grid,
.methods-grid,
.factors-grid,
.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.detailed-case-studies {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 3rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.contacts-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 2.5rem;
}

.policy-content {
    display: grid;
    grid-template-columns: 25rem 1fr;
    gap: 4rem;
}

/* =========================================================
   4. Header
   ========================================================= */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 8rem;
}

.logo {
    display: block;
}

.logo img {
    height: 4.5rem;
    width: auto;
}

.header-cta {
    margin-left: 2rem;
}

/* =========================================================
   5. Navigation
   ========================================================= */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-list li a {
    color: #495057;
    font-weight: 500;
    padding: 0.8rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a:focus,
.nav-list li a.active {
    color: #1A365D;
}

.nav-list li a.active::after,
.nav-list li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4A6FA5;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1A365D;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:first-child {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:last-child {
    bottom: 0;
}

.mobile-menu-toggle.active span:first-child {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* =========================================================
   6. Buttons & Forms
   ========================================================= */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    line-height: 1.5;
    border-radius: 0.4rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover, .btn:focus {
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #1A365D;
    border-color: #1A365D;
}

.btn-primary:hover, .btn-primary:focus {
    color: #fff;
    background-color: #142948;
    border-color: #0f1f33;
}

.btn-secondary {
    color: #fff;
    background-color: #4A6FA5;
    border-color: #4A6FA5;
}

.btn-secondary:hover, .btn-secondary:focus {
    color: #fff;
    background-color: #3d5b89;
    border-color: #395580;
}

.btn-outline {
    color: #1A365D;
    background-color: transparent;
    border-color: #1A365D;
}

.btn-outline:hover, .btn-outline:focus {
    color: #fff;
    background-color: #1A365D;
    border-color: #1A365D;
}

.btn-large {
    padding: 1.2rem 2.4rem;
    font-size: 1.8rem;
}

.btn-full {
    width: 100%;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #495057;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #CED4DA;
    border-radius: 0.4rem;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4A6FA5;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(74, 111, 165, 0.25);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.privacy-notice {
    margin-top: 2rem;
    font-size: 1.4rem;
    color: #6C757D;
}

.contact-form {
    background-color: #fff;
    padding: 3rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.iti {
    width: 100%;
}

/* =========================================================
   7. Hero Section
   ========================================================= */
.hero {
    padding: 8rem 0;
    background-color: #F8F9FA;
    overflow: hidden;
}

.hero-content {
    max-width: 55rem;
}

.hero h1 {
    margin-bottom: 2rem;
    font-size: 4.8rem;
}

.hero-subtitle {
    font-size: 2rem;
    color: #495057;
    margin-bottom: 3rem;
}

.hero-image {
    margin-top: 4rem;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   8. Service Cards
   ========================================================= */
.service-card {
    background-color: #fff;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 22rem;
    overflow: hidden;
}

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

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

.service-card h3 {
    padding: 2rem 2rem 1rem;
    font-size: 2.2rem;
}

.service-card p {
    padding: 0 2rem;
    color: #495057;
}

.service-metric {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

.metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #E63946;
}

.metric-label {
    font-size: 1.4rem;
    color: #6C757D;
}

.service-card .btn {
    margin: 0 2rem 2rem;
}

/* =========================================================
   9. Process Steps
   ========================================================= */
.process {
    background-color: #F1F3F5;
}

.process-image {
    margin-bottom: 4rem;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.process-step {
    background-color: #fff;
    padding: 3rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    position: absolute;
    top: -2rem;
    left: 3rem;
    width: 4rem;
    height: 4rem;
    background-color: #1A365D;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 2rem;
}

.process-step h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.step-output {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E9ECEF;
}

.step-output h4 {
    font-size: 1.6rem;
    color: #4A6FA5;
    margin-bottom: 0.5rem;
}

/* =========================================================
   10. Advantages
   ========================================================= */
.advantage-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    width: 6rem;
    height: 6rem;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.advantage-icon i {
    font-size: 2.4rem;
    color: #4A6FA5;
}

.advantage-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #495057;
    margin-bottom: 0;
    flex-grow: 1;
}

/* =========================================================
   11. Case Studies
   ========================================================= */
.case-studies {
    background-color: #F1F3F5;
}

.case-study-card {
    background-color: #fff;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.case-image {
    height: 22rem;
    overflow: hidden;
}

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

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

.case-content {
    padding: 2.5rem;
}

.case-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.case-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.case-category, .case-result {
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

.case-category {
    background-color: rgba(74, 111, 165, 0.1);
    color: #4A6FA5;
}

.case-result {
    background-color: rgba(230, 57, 70, 0.1);
    color: #E63946;
}

.case-challenge, .case-solution {
    margin-bottom: 1rem;
}

.case-result-details {
    margin-bottom: 2rem;
}

.view-more-container {
    text-align: center;
    margin-top: 4rem;
}

.detailed-case-study {
    background-color: #fff;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 3rem;
}

.case-header {
    margin-bottom: 2.5rem;
}

.case-header h3 {
    margin-bottom: 1rem;
}

.case-date {
    font-size: 1.4rem;
    color: #6C757D;
}

.case-results {
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 0.8rem;
    margin: 2.5rem 0;
}

.result-item {
    text-align: center;
    padding: 1.5rem;
}

.result-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #E63946;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 1.4rem;
    color: #495057;
}

.case-approach {
    margin-top: 2.5rem;
}

.case-approach ul {
    list-style: disc;
    padding-left: 2rem;
}

/* =========================================================
   12. News Section
   ========================================================= */
.news-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    font-size: 1.4rem;
    color: #6C757D;
    margin-bottom: 1.5rem;
    display: block;
}

.news-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.news-card p {
    color: #495057;
    margin-bottom: 0;
    flex-grow: 1;
}

/* =========================================================
   13. Contact Section
   ========================================================= */
.contact-section {
    background-color: #F1F3F5;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.contact-item i {
    font-size: 2.2rem;
    color: #4A6FA5;
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}

.contact-item h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-form-container {
    background-color: #fff;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   14. Footer
   ========================================================= */
.site-footer {
    background-color: #1A365D;
    color: #fff;
    padding: 6rem 0 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 4.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    color: #B8C4D9;
    font-size: 1.5rem;
}

.footer-nav h3,
.footer-contact h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    color: #B8C4D9;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: #fff;
}

.footer-contact address {
    font-style: normal;
    color: #B8C4D9;
}

.footer-contact p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 1rem;
    color: #4A6FA5;
}

.footer-contact a {
    color: #B8C4D9;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: #fff;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-legal {
    color: #B8C4D9;
    font-size: 1.4rem;
}

.footer-legal p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links a {
    color: #B8C4D9;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #fff;
}

.cookie-settings-btn {
    background: none;
    border: none;
    color: #B8C4D9;
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
}

.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
    color: #fff;
    text-decoration: underline;
}

/* =========================================================
   15. Cookie Consent
   ========================================================= */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 1000;
    display: none;
}

.cookie-consent-banner.show {
    display: block;
}

.cookie-consent-content {
    max-width: 90rem;
    margin: 0 auto;
}

.cookie-consent-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cookie-consent-content p {
    margin-bottom: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================================
   16. Modals
   ========================================================= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 0.8rem;
    max-width: 60rem;
    width: 100%;
    margin: 5rem auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #E9ECEF;
}

.modal-header h2 {
    margin-bottom: 0;
    font-size: 2.2rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2.4rem;
    color: #6C757D;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: #1A365D;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 2rem;
    border-top: 1px solid #E9ECEF;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.cookie-category {
    margin-bottom: 2.5rem;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-header h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 5rem;
    height: 2.6rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CED4DA;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.8rem;
    width: 1.8rem;
    left: 0.4rem;
    bottom: 0.4rem;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4A6FA5;
}

input:focus + .slider {
    box-shadow: 0 0 1px #4A6FA5;
}

input:checked + .slider:before {
    transform: translateX(2.4rem);
}

.slider.round {
    border-radius: 3.4rem;
}

.slider.round:before {
    border-radius: 50%;
}

/* =========================================================
   17. Inner Pages Styles
   ========================================================= */

.thank-you-section {
    padding: 8rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 70rem;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 8rem;
    color: #4A6FA5;
    margin-bottom: 3rem;
}

.thank-you-message {
    font-size: 2rem;
    color: #495057;
    margin-bottom: 4rem;
}

.thank-you-details {
    background-color: #F8F9FA;
    padding: 3rem;
    border-radius: 0.8rem;
    margin-bottom: 4rem;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.next-step {
    display: flex;
    align-items: flex-start;
}

.step-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-icon i {
    font-size: 2rem;
    color: #4A6FA5;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.thank-you-contact {
    margin-top: 3rem;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-option {
    display: flex;
    align-items: center;
    color: #4A6FA5;
    font-weight: 500;
}

.contact-option i {
    margin-right: 1rem;
    font-size: 1.8rem;
}


.benchmark-content {
    margin-top: 4rem;
}

.benchmark-image {
    margin-bottom: 4rem;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.data-table-wrapper {
    overflow-x: auto;
    margin-bottom: 3rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.data-table th,
.data-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #E9ECEF;
}

.data-table th {
    background-color: #F8F9FA;
    font-weight: 600;
    color: #1A365D;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background-color: #F8F9FA;
}

.trends-list {
    margin-top: 3rem;
}

.trends-list li {
    margin-bottom: 2.5rem;
}

.trends-list li:last-child {
    margin-bottom: 0;
}

.trends-list h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1A365D;
}

.factor-item,
.opportunity-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.factor-icon,
.opportunity-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.factor-icon i,
.opportunity-icon i {
    font-size: 2rem;
    color: #4A6FA5;
}

.factor-item h4,
.opportunity-item h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.opportunity-item ul {
    list-style: disc;
    padding-left: 2rem;
}

.opportunity-item li {
    margin-bottom: 0.8rem;
}

.checklist-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.checklist-item h3 {
    margin-bottom: 2rem;
}

.checklist {
    margin-bottom: 0;
}

.checklist li {
    margin-bottom: 1.5rem;
    display: flex;
}

.checklist input[type="checkbox"] {
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.kpi-list {
    margin-top: 2rem;
}

.kpi-list li {
    margin-bottom: 2.5rem;
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 0.8rem;
}

.kpi-list h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1A365D;
}

.kpi-list p {
    margin-bottom: 0.8rem;
}

.kpi-list p:last-child {
    margin-bottom: 0;
}


.methodology-content {
    margin-top: 4rem;
}

.methodology-image {
    margin-bottom: 4rem;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.formula-block {
    background-color: #F8F9FA;
    padding: 2.5rem;
    border-radius: 0.8rem;
    margin: 3rem 0;
}

.formula-block h4 {
    margin-bottom: 1.5rem;
}

.formula {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.formula-legend {
    border-top: 1px solid #E9ECEF;
    padding-top: 2rem;
}

.formula-legend p {
    margin-bottom: 1rem;
}

.formula-legend ul {
    list-style: disc;
    padding-left: 2rem;
}

.formula-legend li {
    margin-bottom: 0.8rem;
}

.example-case {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.example-case h4 {
    margin-bottom: 2rem;
}

.example-details p {
    margin-bottom: 1.5rem;
}

.example-details ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.example-details li {
    margin-bottom: 0.8rem;
}

.kpi-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.kpi-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.kpi-icon i {
    font-size: 2rem;
    color: #4A6FA5;
}

.kpi-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.kpi-details p {
    margin-bottom: 1rem;
}

.kpi-details p:last-child {
    margin-bottom: 0;
}

.system-item,
.method-item {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.system-item h4,
.method-item h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.system-features,
.method-steps {
    margin-top: 2rem;
}

.system-features h5,
.method-steps h5 {
    font-size: 1.6rem;
    color: #4A6FA5;
    margin-bottom: 1rem;
}

.system-features ul,
.method-steps ul,
.method-steps ol {
    list-style: disc;
    padding-left: 2rem;
}

.method-steps ol {
    list-style: decimal;
}

.system-features li,
.method-steps li {
    margin-bottom: 0.8rem;
}

.report-components {
    margin-bottom: 4rem;
}

.report-components h4 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.report-sections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 2.5rem;
}

.report-section {
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 0.8rem;
}

.report-section h5 {
    font-size: 1.6rem;
    color: #1A365D;
    margin-bottom: 1.5rem;
}

.report-section ul {
    list-style: disc;
    padding-left: 2rem;
}

.report-section li {
    margin-bottom: 0.8rem;
}

.adaptation-step {
    margin-bottom: 3rem;
}

.adaptation-step:last-child {
    margin-bottom: 0;
}

.adaptation-step h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.adjustment-examples,
.investment-priorities,
.flexible-budgeting {
    margin-top: 1.5rem;
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 0.8rem;
}

.adjustment-examples h5,
.investment-priorities h5,
.flexible-budgeting h5 {
    font-size: 1.6rem;
    color: #4A6FA5;
    margin-bottom: 1rem;
}

.adjustment-examples ul,
.investment-priorities ul,
.flexible-budgeting ul {
    list-style: disc;
    padding-left: 2rem;
}

.adjustment-examples li,
.investment-priorities li,
.flexible-budgeting li {
    margin-bottom: 0.8rem;
}


.contact-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-icon {
    width: 7rem;
    height: 7rem;
    background-color: rgba(74, 111, 165, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.contact-icon i {
    font-size: 3rem;
    color: #4A6FA5;
}

.contact-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.contact-card p {
    margin-bottom: 0.8rem;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.map-container {
    height: 30rem;
    border-radius: 0.8rem;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts-cta {
    background-color: #F8F9FA;
    padding: 4rem;
    border-radius: 0.8rem;
    text-align: center;
    margin-top: 5rem;
}

.contacts-cta h2 {
    margin-bottom: 1.5rem;
}

.contacts-cta p {
    margin-bottom: 3rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    margin-top: 4rem;
}

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid #E9ECEF;
    padding-bottom: 2rem;
}

.faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 2rem;
    padding-right: 2rem;
}

.faq-toggle {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F8F9FA;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-toggle i {
    color: #4A6FA5;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    padding-top: 2rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer ul {
    list-style: disc;
    padding-left: 2rem;
    margin: 1.5rem 0;
}

.faq-answer li {
    margin-bottom: 0.8rem;
}


.policy-toc {
    position: sticky;
    top: 10rem;
    align-self: start;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-toc h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.policy-toc ul {
    list-style: none;
}

.policy-toc li {
    margin-bottom: 1rem;
}

.policy-toc a {
    color: #495057;
    transition: color 0.3s ease;
}

.policy-toc a:hover,
.policy-toc a:focus {
    color: #4A6FA5;
}

.policy-text {
    background-color: #fff;
    padding: 3.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-text section {
    padding: 0;
    margin-bottom: 5rem;
}

.policy-text section:last-child {
    margin-bottom: 0;
}

.policy-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E9ECEF;
}

.policy-text h3 {
    font-size: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.policy-text p {
    margin-bottom: 1.5rem;
}

.policy-text ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.policy-text li {
    margin-bottom: 0.8rem;
}

.contact-details {
    background-color: #F8F9FA;
    padding: 2.5rem;
    border-radius: 0.8rem;
    margin: 2rem 0;
}

.cookie-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0 3rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
}

.cookie-table th,
.cookie-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border: 1px solid #E9ECEF;
}

.cookie-table th {
    background-color: #F8F9FA;
    font-weight: 600;
    color: #1A365D;
}

.cookie-table tr:nth-child(even) td {
    background-color: #F8F9FA;
}


.cta-section {
    background-color: #1A365D;
    color: #fff;
    text-align: center;
    padding: 6rem 0;
}

.cta-section h2 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: #B8C4D9;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   18. Utility Classes
   ========================================================= */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-5 {
    margin-top: 5rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

.pt-1 {
    padding-top: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pt-3 {
    padding-top: 3rem;
}

.pt-4 {
    padding-top: 4rem;
}

.pt-5 {
    padding-top: 5rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.pb-2 {
    padding-bottom: 2rem;
}

.pb-3 {
    padding-bottom: 3rem;
}

.pb-4 {
    padding-bottom: 4rem;
}

.pb-5 {
    padding-bottom: 5rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

/* =========================================================
   19. Accessibility
   ========================================================= */
:focus {
    outline: 2px solid #4A6FA5;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}


.skip-to-content {
    position: absolute;
    top: -4rem;
    left: 0;
    background: #1A365D;
    color: white;
    padding: 0.8rem 1.5rem;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* =========================================================
   20. Media Queries
   ========================================================= */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }

    .contact-content,
    .contacts-content,
    .policy-content {
        grid-template-columns: 1fr;
    }

    .policy-toc {
        position: static;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }

    section {
        padding: 5rem 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav .nav-list {
        position: fixed;
        top: 0;
        right: -30rem;
        width: 30rem;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        padding: 8rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .main-nav.active .nav-list {
        right: 0;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 6rem 0;
    }

    .hero h1 {
        font-size: 3.6rem;
    }

    .services-grid,
    .advantages-grid,
    .case-studies-grid,
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }

    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .thank-you-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 52%;
    }

    h1 {
        font-size: 3.6rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-item i {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .report-sections {
        grid-template-columns: 1fr;
    }
}