/* About/Contacts/News/Vacancies hero background */
.about-bg {
    background: url('images/aboutback.png') center center/cover no-repeat, linear-gradient(135deg, #2d3a4f 0%, #1a1a1a 100%);
    background-blend-mode: darken, normal;
    position: relative;
}
/* Trade hero background */
.trade-bg {
    background: url('images/tradeback.png') center center/cover no-repeat, linear-gradient(135deg, #4a2e21 0%, #1f0a0a 100%);
    background-blend-mode: darken, normal;
    position: relative;
}
/* Logistics hero background */
.logistics-bg {
    background: url('images/logisticsback.png') center center/cover no-repeat, linear-gradient(135deg, #2e4a21 0%, #0a1f0a 100%);
    background-blend-mode: darken, normal;
    position: relative;
}
/* Transport hero background */
.transport-bg {
    background: url('images/transportback.png') center center/cover no-repeat, linear-gradient(135deg, #1e293b 0%, #0a192f 100%);
    background-blend-mode: darken, normal;
    position: relative;
}
/* Основные цвета GoldenGroup */
:root {
    --primary-yellow: #ffde00;
    --deep-black: #1a1a1a;
    --light-grey: #f9f9f9;
    --white: #ffffff;
    --text-main: #333333;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.18);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--white);
    letter-spacing: -0.3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхняя контактная панель */
.topbar {
    background: var(--deep-black);
    color: var(--white);
    font-size: 12px;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.topbar-contacts a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.topbar-contacts a:hover {
    color: var(--primary-yellow);
}

.topbar-sep {
    color: rgba(255, 255, 255, 0.4);
}

.topbar .language-switcher {
    gap: 6px;
}

.topbar .lang-btn {
    color: var(--white);
    border-color: rgba(255, 222, 0, 0.8);
}

.topbar .lang-btn.active,
.topbar .lang-btn:hover {
    background: var(--primary-yellow);
    color: var(--deep-black);
}

.content-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.content-toolbar select {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    background: var(--white);
}

.content-textarea {
    width: 100%;
    min-height: 180px;
    border-radius: 12px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    padding: 12px;
    font-family: inherit;
    font-size: 14px;
    background: var(--white);
}

.content-preview {
    background: #f7f9fc;
    border-radius: 12px;
    border: 1px solid rgba(16, 24, 40, 0.06);
    padding: 12px;
    min-height: 120px;
}

/* Навигация */
.navbar {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.logo {
    font-size: 24px;
    color: var(--deep-black);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -1px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.logo-main {
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--primary-yellow);
}

.logo-sub {
    font-size: 10px;
    color: #999;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    display: block;
    border-left: 1px solid #ccc;
    padding-left: 8px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.5px;
}

nav a:hover, nav a.active {
    color: var(--primary-yellow);
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
    height: 42vh;
    display: flex;
    align-items: center;
    color: var(--deep-black);
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.45) 0%, rgba(10, 10, 10, 0.2) 100%),
        url('images/hero-office.jpg');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 222, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 800px 600px at 90% 20%, rgba(255, 222, 0, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 600px 500px at 10% 80%, rgba(0, 0, 0, 0.18) 0%, transparent 60%);
    z-index: 1;
}

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

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
  padding-left: 0;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
  color: var(--deep-black);
  animation: fadeInScale 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.hero h1 .brand-accent {
  color: var(--primary-yellow);
  font-weight: 900;
}

.hero p {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-in 0.6s both;
}

.hero p .highlight-gold {
    color: var(--primary-yellow);
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffe680 100%);
    color: var(--deep-black);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(255, 222, 0, 0.3);
    letter-spacing: 0.5px;
    font-size: 13px;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(255, 222, 0, 0.4);
}

.btn-secondary {
    color: var(--deep-black);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 4px;
}

.btn-secondary:hover {
    color: var(--primary-yellow);
}

/* Manifesto Section */
.manifesto {
    padding: 80px 0;
    background: var(--light-grey);
}

.manifesto h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--deep-black);
}

.manifesto p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

/* Divisions Section */
.divisions {
    padding: 80px 0;
    background: var(--white);
}

.divisions h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: var(--deep-black);
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.division-item {
    padding: 40px 30px;
    background: var(--light-grey);
    border-radius: 12px;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.division-image {
    width: calc(100% + 60px);
    margin: -40px -30px 20px -30px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    transition: 0.3s ease;
}

.division-item:hover .division-image {
    transform: scale(1.05);
}

.division-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.division-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--deep-black);
}

.division-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 20px;
}

.division-item a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.division-item a:hover {
    color: var(--deep-black);
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-black) 0%, #2a2a2a 100%);
    color: var(--white);
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-text {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--white);
}

.quote-author {
    font-size: 14px;
    color: var(--primary-yellow);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--white);
}

.news-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: var(--deep-black);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.news-item {
    padding: 30px;
    background: var(--light-grey);
    border-radius: 12px;
    transition: 0.3s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-md);
}

.news-date {
    font-size: 12px;
    color: var(--primary-yellow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.news-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--deep-black);
}

.news-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-main);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--light-grey);
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--deep-black);
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Holding Section */
.holding-section {
    padding: 60px 0;
    background: var(--white);
}

/* Grid карточек */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.category-card {
    background: var(--white);
    padding: 50px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: var(--deep-black);
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: none;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 150px;
}

.overlay {
    display: none;
}

.content {
    position: relative;
    z-index: 2;
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,0,0,0.02) 100%);
}

.category-card h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: var(--deep-black);
}

.category-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Страница дизайн */
.page-hero {
    height: 42vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: var(--white);
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.07); /* почти прозрачный, только лёгкая дымка */
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.8px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    animation: fadeInScale 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.page-hero p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.85);
    animation: fadeIn 0.8s ease-in 0.5s both;
}

/* Hero backgrounds */
/* Electro hero with background image */
.electro-bg {
    background: url('images/elektroback.png') center center/cover no-repeat, linear-gradient(135deg, #2d3a4f 0%, #1a1a1a 100%);
    background-blend-mode: darken, normal;
    position: relative;
}
        radial-gradient(ellipse 600px 400px at 20% 70%, rgba(255, 222, 0, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #2d3a4f 0%, #1a1a1a 100%);
}





/* Детали страницы */
.details {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-block h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--deep-black);
    letter-spacing: -1px;
}

.text-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.text-block ul {
    list-style: none;
    margin: 30px 0;
}

.text-block li {
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    position: relative;
}

.text-block li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    font-size: 18px;
}

.image-block {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Услуги и компетенции */
.services-detailed {
    padding: 80px 0;
    background: var(--light-grey);
}

.services-detailed h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--deep-black);
    font-weight: 900;
    letter-spacing: -0.5px;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-left: 4px solid var(--primary-yellow);
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--deep-black);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    font-size: 14px;
    color: #666;
}

.service-card li::before {
    content: '✓';
    color: var(--primary-yellow);
    margin-right: 10px;
    margin-left: -20px;
    font-weight: bold;
}

/* Компетенции */
.spark-competencies {
    padding: 80px 0;
    background: var(--white);
}

.spark-competencies h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 60px;
    color: var(--deep-black);
    position: relative;
    padding-bottom: 24px;
    letter-spacing: -1px;
}

.spark-competencies h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-yellow), #ffeb3b);
    border-radius: 2px;
}

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

.competency-card {
    background: var(--white);
    padding: 40px 24px;
    border-left: none;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    min-height: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.competency-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(0,0,0,0.03);
    border-radius: 50%;
    transition: 0.3s;
}

.competency-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,0,0,0.02) 100%);
}

.competency-card:hover .competency-icon {
    transform: scale(1.2) rotate(10deg);
}

.competency-icon {
    font-size: 48px;
    margin-bottom: 0;
    transition: 0.3s;
    display: block;
    flex-shrink: 0;
}

.competency-text {
    flex-grow: 1;
}

.competency-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--deep-black);
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-top: 0;
}

.competency-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Статистика */
.spark-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    background: linear-gradient(135deg, var(--light-grey) 0%, rgba(255, 222, 0, 0.05) 100%);
    padding: 50px;
    border-radius: 20px;
}

.stat-card {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-top: 5px solid var(--primary-yellow);
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 222, 0, 0.08) 100%);
}

.stat-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary-yellow);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Контактная информация */
.spark-contact-info {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 222, 0, 0.03) 100%);
}

.spark-contact-info h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 60px;
    color: var(--deep-black);
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 24px;
}

.spark-contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-yellow), #ffeb3b);
    border-radius: 2px;
}

/* Контактная информация */
.spark-contact {
    padding: 80px 0;
    background: var(--white);
}

.spark-contact h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 60px;
    color: var(--deep-black);
    letter-spacing: -1px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    padding: 50px;
    border-left: 5px solid var(--primary-yellow);
    text-align: center;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 222, 0, 0.08) 100%);
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--deep-black);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.contact-card p {
    margin: 12px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.contact-card a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

/* SparkElektro Intro */
.spark-hero-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-grey) 100%);
}

.intro-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--deep-black);
    margin-bottom: 30px;
    letter-spacing: -0.3px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
}

.intro-content h2 .title-top {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.intro-content h2 .title-bottom {
    display: block;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-main);
}

.intro-content h2 .accent-colon {
    display: none;
}

.intro-content h2 .highlight {
    display: none;
}

.intro-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 25px;
    font-weight: 400;
}

.intro-subtitle .highlight {
    color: var(--primary-yellow);
    font-weight: 600;
}

.intro-tagline {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-main);
    font-weight: 400;
    padding: 0;
    border-left: none;
    background: transparent;
    border-radius: 0;
    margin: 0;
}

.intro-tagline .highlight-strong {
    color: var(--deep-black);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    transform: translateX(4px);
    opacity: 0.9;
}

.legal-info {
    background: linear-gradient(135deg, var(--light-grey) 0%, rgba(255, 222, 0, 0.05) 100%);
    padding: 40px;
    border-left: 5px solid var(--primary-yellow);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.legal-info p {
    margin: 12px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Страница "О компании" */
.about-intro {
    padding: 60px 0;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-main);
}

/* Архитектура раздел */
.architecture-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-grey) 0%, rgba(255, 222, 0, 0.02) 100%);
}

.architecture-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 60px;
    color: var(--deep-black);
    letter-spacing: -1px;
}

.architecture-section h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--deep-black);
    letter-spacing: -0.5px;
    border-bottom: 4px solid var(--primary-yellow);
    padding-bottom: 12px;
    display: inline-block;
}

.story-block,
.philosophy-block,
.standards-block,
.future-block {
    margin-bottom: 60px;
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.story-block p,
.standards-block p,
.future-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.story-block,
.philosophy-block,
    .standards-block,
    .future-block {
        margin-bottom: 60px;
        background: var(--white);
        padding: 40px 40px 40px 20px;
        border-radius: 16px;
        box-shadow: var(--shadow-md);
    margin-bottom: 8px;
    color: var(--deep-black);
    font-weight: 700;
}
.philosophy-card p {
    color: #4b4b4b;
    line-height: 1.6;
    margin: 0;
}
.philosophy-block h3 {
    margin-bottom: 12px;
    font-size: 1.7rem;
}
.philosophy-block p {
    margin-bottom: 18px;
    color: #555555;
}

@media (max-width: 700px) {
    .philosophy-card {
        padding: 18px 18px;
        border-left-width: 4px;
    }
    .philosophy-block {
        padding: 24px;
    }
    .philosophy-block h3 {
        font-size: 1.4rem;
    }
}

.philosophy-card {
    background: transparent;
    padding: 8px 0;
    border-left: 6px solid rgba(255,222,0,0.9);
    border-radius: 0;
    box-shadow: none;
    transition: none;
    min-height: 0;
    display: block;
}

.philosophy-card:hover {
    transform: none;
    box-shadow: none;
}

.philosophy-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--deep-black);
}

.philosophy-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-grey) 0%, rgba(255, 222, 0, 0.02) 100%);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 60px;
    color: var(--deep-black);
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 24px;
}

.why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-yellow), #ffeb3b);
    border-radius: 2px;
}

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

.feature-card {
    background: var(--white);
    padding: 50px 24px;
    text-align: center;
    border-top: none;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
    transition: 0.3s;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,0,0,0.02) 100%);
}

.feature-card:hover::before {
    transform: scale(1.2);
}

.feature-icon {
    font-size: 52px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--deep-black);
    font-weight: 700;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    position: relative;
    z-index: 1;
}

@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .divisions-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .division-link {
        padding: 36px;
    }
}

@media (max-width: 640px) {
    .features-grid,
    .divisions-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .division-link {
        padding: 24px;
    }

    .value-card h3 {
        white-space: normal;
    }
}

/* Unified card typography */
.card-heading, .category-card h3, .value-card h3, .feature-card h3, .advantage-card h3, .competency-card h3 {
    font-size: 18px;
    line-height: 1.2;
    margin: 0 0 12px 0;
    font-weight: 700;
    color: var(--deep-black);
}
.card-body, .category-card p, .value-card p, .feature-card p, .advantage-card p, .competency-card p, .philosophy-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

/* Slightly smaller headings for very small screens */
@media (max-width: 640px) {
    .card-heading, .category-card h3, .value-card h3, .feature-card h3, .advantage-card h3, .competency-card h3 {
        font-size: 16px;
    }
    .card-body, .category-card p, .value-card p, .feature-card p, .advantage-card p, .competency-card p, .philosophy-card p {
        font-size: 13px;
    }
}

.lead-text {
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto 50px;
}

.spark-about h2 {
    text-align: center;
    font-size: 32px;
    margin-top: 60px;
    margin-bottom: 20px;
    color: var(--deep-black);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 28px;
}

.value-card {
    background: var(--white);
    padding: 50px 28px;
    border-left: none;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.value-card {
    background: var(--white);
    padding: 22px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: none;
}
.value-card h3 {
    font-size: 18px;
    margin: 0 0 12px 0;
    font-weight: 700;
    color: var(--deep-black);
    white-space: nowrap;
}
.value-card p {
    color: #525252;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .values-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 640px) {
    .values-grid { grid-template-columns: 1fr; }
    .value-card { padding: 18px; border-left-width: 4px; }
    .values-grid { gap: 16px; }
}

.value-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
}

.value-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,0,0,0.02) 100%);
}

/* unified h3 styles above */

.value-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    position: relative;
    z-index: 1;
}

.divisions-overview {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-grey) 0%, rgba(255, 222, 0, 0.02) 100%);
}

.divisions-overview h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 60px;
    color: var(--deep-black);
    letter-spacing: -1px;
}

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

.division-link {
    background: var(--white);
    padding: 50px;
    text-decoration: none;
    color: var(--deep-black);
    border-left: 5px solid var(--primary-yellow);
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.division-link:hover {
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,0,0,0.02) 100%);
    color: var(--deep-black);
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.division-link h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.division-link p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 28px;
}

.advantage-card {
    background: var(--white);
    padding: 50px 24px;
    border-top: none;
    text-align: center;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-md);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* ensure specific division-advantages section matches site-wide card layout */
.division-advantages .advantages-grid { grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 28px; }
.division-advantages .advantage-card { padding: 40px 20px; }
@media (max-width: 1100px) { .division-advantages .advantages-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); } }
@media (max-width: 640px) { .division-advantages .advantages-grid { grid-template-columns: 1fr; } .division-advantages .advantage-card { padding-left: 12px; padding-right: 18px; } }

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%);
    transition: 0.3s;
}

.advantage-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--white) 0%, rgba(0,0,0,0.02) 100%);
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--deep-black);
    font-weight: 700;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.advantage-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    position: relative;
    z-index: 1;
}

.division-intro {
    padding: 60px 0;
    text-align: center;
}

.division-intro h1 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--deep-black);
    letter-spacing: -1px;
}

.division-intro p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Футер */
.footer {
    background: var(--deep-black);
    color: var(--white);
    padding: 70px 20px 40px;
    text-align: left;
    border-top: 4px solid var(--primary-yellow);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    font-size: 22px;
    color: var(--white);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: -1px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.footer-logo .logo-accent {
    color: var(--primary-yellow);
}

.footer-slogan {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
    color: var(--primary-yellow);
}

.footer-links ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-legal p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

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

    .footer-links ul {
        justify-items: center;
    }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

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

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        height: auto;
        padding: 60px 20px;
    }

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

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

/* Legal Info Section */
.legal-info-section {
    padding: 60px 0;
    background: var(--white);
}

/* Vacancies */
.vacancies-section {
    padding: 80px 0;
    background: var(--white);
}

.vacancies-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.vacancies-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--deep-black);
    margin-bottom: 12px;
}

.vacancies-header p {
    color: #666;
    font-size: 16px;
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.vacancy-card {
    background: var(--light-grey);
    border-radius: 14px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vacancy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.vacancy-card h3 {
    font-size: 18px;
    color: var(--deep-black);
    margin-bottom: 8px;
    font-weight: 700;
}

.vacancy-meta {
    font-size: 12px;
    color: #777;
    margin-bottom: 14px;
}

.vacancy-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}

.vacancy-cta {
    display: inline-block;
    padding: 10px 18px;
    background: var(--primary-yellow);
    color: var(--deep-black);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: 0.3s ease;
}

.vacancy-cta:hover {
    transform: translateY(-2px);
}

/* News page */
.news-page {
    padding: 80px 0;
    background: var(--white);
}

/* Account */
.account-section {
    padding: 60px 0 90px;
    background: #f4f6f9;
}

.account-page {
    background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
    min-height: 100vh;
}

.account-page.user-theme-dark {
    --text-main: #e5e7eb;
    --deep-black: #f3f4f6;
    --light-grey: #1f2937;
    --white: #111827;
    background: #0f1115;
}

.account-page.user-theme-dark .account-section {
    background: #0f1115;
}

.account-page.user-theme-dark .account-card {
    background: #141923;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.account-page.user-theme-dark .account-form input,
.account-page.user-theme-dark .account-form textarea,
.account-page.user-theme-dark .account-form select {
    border-color: rgba(255, 255, 255, 0.12);
    background: #0f1522;
    color: #e5e7eb;
}

.account-page.user-theme-dark .account-form input[readonly],
.account-page.user-theme-dark .account-form textarea[readonly],
.account-page.user-theme-dark .account-form select:disabled {
    background: #0b111b;
    color: #8a94a3;
    border-color: rgba(255, 255, 255, 0.08);
}

.account-page.user-theme-dark .sidebar-nav button {
    color: #e5e7eb;
}

.account-page.user-theme-dark .sidebar-nav button.active {
    background: rgba(255, 255, 255, 0.08);
}

.account-page.user-theme-dark .navbar {
    background-color: rgba(15, 17, 21, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.account-page.user-theme-dark nav a {
    color: #e5e7eb;
}

.account-page.user-theme-dark nav a:hover,
.account-page.user-theme-dark nav a.active {
    color: var(--primary-yellow);
}

.account-page.user-theme-dark .logo {
    color: #f3f4f6;
}

.account-page.user-theme-dark .logo-sub {
    color: #9aa3af;
    border-left-color: rgba(255, 255, 255, 0.2);
}

.account-page.user-theme-dark .topbar {
    background: #0b0f15;
    color: #e5e7eb;
}

.account-page.user-theme-dark .topbar a {
    color: #e5e7eb;
}

.account-page.user-theme-dark .topbar-sep {
    color: rgba(255, 255, 255, 0.4);
}

.account-page.user-theme-dark .lang-btn {
    border-color: rgba(255, 255, 255, 0.2);
    color: #e5e7eb;
    background: rgba(255, 255, 255, 0.04);
}

.account-page.user-theme-dark .lang-btn.active {
    color: #1a1a1a;
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.account-page.user-theme-dark .calendar-header {
    color: #e5e7eb;
}

.account-page.user-theme-dark .calendar-nav {
    background: #0f1522;
    border-color: rgba(255, 255, 255, 0.12);
    color: #e5e7eb;
}

.account-page.user-theme-dark .calendar-day {
    color: #9aa3af;
}

.account-page.user-theme-dark .calendar-date {
    background: #0f1522;
    color: #e5e7eb;
}

.account-page.user-theme-dark .calendar-date.weekend {
    background: rgba(239, 68, 68, 0.25);
    color: #fecaca;
}

.account-page.user-theme-dark .calendar-date.holiday {
    background: rgba(250, 204, 21, 0.25);
    color: #fde68a;
}

.account-page.user-theme-dark .calendar-date.today {
    background: rgba(59, 130, 246, 0.22);
    border: 2px solid rgba(59, 130, 246, 0.9);
    color: #bfdbfe;
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.25);
}

.account-page.user-theme-dark .calendar-legend {
    color: #9aa3af;
}

.account-page.user-theme-dark .tile {
    background: #141923;
    color: #e5e7eb;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.account-page.user-theme-dark .tile:hover {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

.account-page.user-theme-dark .file-path {
    color: #9aa3af;
}

.account-page.admin-theme-light {
    background: #f7f9fa;
}

.account-page.admin-theme-dark {
    background: #0f0f0f;
}

.account-page.admin-theme-corporate {
    background: #ffffff;
}

.account-page.admin-theme-example {
    background: #f3f4f6;
}

.account-page.admin-theme-light .account-section {
    background: #f7f9fa;
}

.account-page.admin-theme-dark .account-section {
    background: #0f0f0f;
}

.account-page.admin-theme-corporate .account-section {
    background: #ffffff;
}

.account-page.admin-theme-example .account-section {
    background: #f3f4f6;
}

.account-page.admin-theme-dark .account-card,
.account-page.admin-theme-dark .admin-dashboard,
.account-page.admin-theme-dark .admin-stat,
.account-page.admin-theme-dark .details-panel,
.account-page.admin-theme-dark .content-preview,
.account-page.admin-theme-dark .content-textarea {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.08);
    color: #ededed;
}

.account-page.admin-theme-dark .muted,
.account-page.admin-theme-dark .user-meta,
.account-page.admin-theme-dark .admin-stat .stat-label {
    color: rgba(237, 237, 237, 0.7);
}

.account-page.admin-theme-dark .account-sidebar {
    background: #111827;
    color: #ededed;
}

.account-page.admin-theme-dark .sidebar-nav .tab-btn {
    color: rgba(237, 237, 237, 0.85);
}

.account-page.admin-theme-dark .sidebar-nav .tab-btn.active,
.account-page.admin-theme-dark .sidebar-nav .tab-btn:hover {
    background: rgba(34, 197, 94, 0.18);
    border-left-color: #22c55e;
    color: #ededed;
}

.account-page.admin-theme-dark .tab-btn.active {
    background: #22c55e;
    color: #0f0f0f;
}

.account-page.admin-theme-dark .btn-secondary,
.account-page.admin-theme-dark .btn-submit {
    background: #22c55e;
    color: #0f0f0f;
    border-color: transparent;
}

.account-page.admin-theme-corporate .account-sidebar {
    background: #1f2937;
    color: #f9fafb;
}

.account-page.admin-theme-example .account-sidebar {
    background: #1f2937;
    color: #f9fafb;
    border-color: #1f2937;
    box-shadow: none;
}

.account-page.admin-theme-example .sidebar-nav .tab-btn {
    color: #e5e7eb;
    border-color: transparent;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 13px;
}

.account-page.admin-theme-example .sidebar-nav .tab-btn.active,
.account-page.admin-theme-example .sidebar-nav .tab-btn:hover {
    background: #334155;
    color: #ffffff;
    border-color: #334155;
}

.account-page.admin-theme-example .sidebar-nav .tab-btn.active {
    background: #ec4899;
    border-color: #ec4899;
    color: #ffffff;
}

.account-page.admin-theme-example .sidebar-info {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.08);
}

.account-page.admin-theme-example .sidebar-info .muted {
    color: rgba(255, 255, 255, 0.7);
}

.account-page.admin-theme-example .sidebar-info strong {
    color: #ffffff;
}

.account-page.admin-theme-example .account-card,
.account-page.admin-theme-example .admin-topbar,
.account-page.admin-theme-example .admin-stat,
.account-page.admin-theme-example .admin-card,
.account-page.admin-theme-example .details-panel,
.account-page.admin-theme-example .list-item,
.account-page.admin-theme-example .tile,
.account-page.admin-theme-example .dashboard-hero,
.account-page.admin-theme-example .account-header {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.account-page.admin-theme-example .admin-search {
    background: #f3f4f6;
}

.account-page.admin-theme-example .admin-chart {
    background: #f8fafc;
}

.account-page.admin-theme-example .tab-btn.active {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
}

.account-page.admin-theme-example .admin-topbar {
    border-radius: 12px;
    padding: 10px 14px;
}

.account-page.admin-theme-example .admin-search input {
    font-size: 13px;
}

.account-page.admin-theme-example .admin-icon-btn {
    border-radius: 10px;
}

.account-page.admin-theme-example .admin-stat {
    border-top: 4px solid transparent;
    border-radius: 10px;
    padding: 14px 16px;
}

.account-page.admin-theme-example .admin-stat:nth-child(2) {
    border-top-color: #22c55e;
}

.account-page.admin-theme-example .stat-value {
    font-size: 22px;
    line-height: 1.2;
}

.account-page.admin-theme-example .admin-card-title {
    font-size: 14px;
    font-weight: 700;
}

.account-page.admin-theme-example .btn-submit,
.account-page.admin-theme-example .btn-secondary {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 12px;
}

.account-page.admin-theme-example .btn-submit:hover,
.account-page.admin-theme-example .btn-secondary:hover {
    background: #111827;
    border-color: #111827;
}

.account-page.admin-theme-example .account-form input,
.account-page.admin-theme-example .account-form textarea,
.account-page.admin-theme-example .account-form select {
    border-radius: 10px;
    border-color: #e5e7eb;
    background: #ffffff;
    font-size: 12.5px;
    padding: 9px 11px;
}

.account-page.admin-theme-example .account-form input:focus,
.account-page.admin-theme-example .account-form textarea:focus,
.account-page.admin-theme-example .account-form select:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.25);
}

.account-page.admin-theme-example .admin-grid {
    gap: 18px;
}

.account-page.admin-theme-example .admin-stats {
    gap: 14px;
}

.account-page.admin-theme-example .admin-quick {
    gap: 10px;
}

.account-page.admin-theme-example .account-content {
    gap: 18px;
}

.account-page.admin-theme-corporate .sidebar-nav .tab-btn {
    color: #f9fafb;
}

.account-page.admin-theme-corporate .sidebar-info {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.account-page.admin-theme-corporate .sidebar-info .muted {
    color: rgba(255, 255, 255, 0.75);
}

.account-page.admin-theme-corporate .sidebar-info strong {
    color: #ffffff;
}

.account-page.admin-theme-corporate .sidebar-nav .tab-btn.active,
.account-page.admin-theme-corporate .sidebar-nav .tab-btn:hover {
    background: rgba(109, 40, 217, 0.18);
    border-left-color: #6d28d9;
    color: #ffffff;
}

.account-page.admin-theme-corporate .tab-btn.active,
.account-page.admin-theme-corporate .btn-secondary,
.account-page.admin-theme-corporate .btn-submit {
    background: #6d28d9;
    color: #ffffff;
    border-color: transparent;
}

.account-page.admin-theme-light .sidebar-nav .tab-btn.active,
.account-page.admin-theme-light .sidebar-nav .tab-btn:hover {
    border-left-color: #2563eb;
}

.account-page.admin-theme-light .tab-btn.active,
.account-page.admin-theme-light .btn-secondary,
.account-page.admin-theme-light .btn-submit {
    background: #2563eb;
    color: #ffffff;
    border-color: transparent;
}

.admin-dashboard {
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, 0.06);
    border-radius: 18px;
    padding: 10px 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.admin-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 1px;
}

.admin-brand-text {
    color: #111827;
    font-size: 14px;
}

.admin-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f7;
    border-radius: 999px;
    padding: 8px 12px;
    max-width: 420px;
}

.admin-search input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 13px;
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.admin-user-name {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.admin-user-role {
    font-size: 11px;
    color: #6b7280;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.admin-stat {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.admin-stat .stat-label {
    font-size: 12px;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
}

.admin-stat .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--deep-black);
}

.admin-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hidden {
    display: none !important;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.admin-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.admin-card-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.admin-chart {
    height: 160px;
    background: #f5f5f7;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.admin-chart svg {
    width: 100%;
    height: 100%;
}

.ticket-item,
.media-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 12px;
    background: #f7f9fc;
}

.ticket-actions,
.media-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ticket-actions select,
.ticket-actions input {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    background: #fff;
    font-size: 13px;
}

.media-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.media-toolbar input[type="file"] {
    flex: 1;
}


.account-container {
    max-width: 1200px;
}

.account-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.account-logo {
    font-size: 22px;
}

.account-title h1 {
    font-size: 28px;
    color: var(--deep-black);
    margin-bottom: 8px;
    letter-spacing: -0.4px;
}

.account-title p {
    color: #667085;
    font-size: 14px;
}

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

.account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}

.account-sidebar {
    background: linear-gradient(180deg, #1f3b57 0%, #162a41 100%);
    border-radius: 16px;
    padding: 20px 16px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 720px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 1px;
}

.sidebar-brand-name {
    font-weight: 700;
    letter-spacing: 0.3px;
    font-size: 14px;
    color: var(--white);
}

.sidebar-nav {
    display: grid;
    gap: 6px;
}

.sidebar-nav .tab-btn {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: none;
    text-align: left;
    padding: 9px 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    border-left: 3px solid transparent;
}

.sidebar-nav .tab-btn.active,
.sidebar-nav .tab-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-left-color: var(--primary-yellow);
}

.sidebar-nav .logout-btn {
    margin-top: 6px;
}

.sidebar-nav .tab-btn::before {
    width: 16px;
    text-align: center;
    font-size: 14px;
    opacity: 0.9;
}

.sidebar-nav .tab-btn:nth-child(1)::before { content: '🏠'; }
.sidebar-nav .tab-btn:nth-child(2)::before { content: '⚡'; }
.sidebar-nav .tab-btn:nth-child(3)::before { content: '📁'; }
.sidebar-nav .tab-btn:nth-child(4)::before { content: '🛠️'; }
.sidebar-nav .tab-btn:nth-child(5)::before { content: '🧾'; }
.sidebar-nav .tab-btn:nth-child(6)::before { content: '💬'; }
.sidebar-nav .tab-btn:nth-child(7)::before { content: '🔔'; }
.sidebar-nav .tab-btn:nth-child(8)::before { content: '⚙️'; }

.sidebar-nav .logout-btn::before {
    content: '⏻';
}

.sidebar-info {
    background: rgba(255, 255, 255, 0.12);
    padding: 14px;
    border-radius: 12px;
    font-size: 13px;
}

.sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-info .muted {
    color: rgba(255, 255, 255, 0.85);
}

.sidebar-info strong {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    font-weight: 700;
}

.sidebar-info strong::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #7ed957 0%, #46c77a 100%);
    box-shadow: 0 4px 12px rgba(70, 199, 122, 0.4);
}

.sidebar-info strong {
    display: block;
    margin-top: 6px;
    color: var(--primary-yellow);
}

.account-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-topbar {
    background: var(--white);
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.dashboard-hero {
    background: var(--white);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
}

.dashboard-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-pill {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(46, 204, 113, 0.2);
    color: #1f8f4d;
    font-weight: 600;
    font-size: 12px;
}

.dashboard-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 18px;
    margin-bottom: 26px;
}

.progress-block {
    margin-bottom: 18px;
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

.progress-bar {
    height: 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #7ed957 0%, #46c77a 100%);
    border-radius: 999px;
}

.progress-bar.progress-blue span {
    background: linear-gradient(90deg, #5aa9ff 0%, #3a7bd5 100%);
}

.calendar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calendar-header {
    font-weight: 700;
    color: var(--deep-black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.calendar-nav {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    cursor: pointer;
    font-weight: 700;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.calendar-date {
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    background: #f7f9fc;
    font-size: 13px;
}

.calendar-date.weekend {
    background: rgba(231, 76, 60, 0.15);
    color: #c0392b;
    font-weight: 600;
}

.calendar-date.holiday {
    background: rgba(255, 222, 0, 0.25);
    color: #8a6d00;
    font-weight: 700;
}

.calendar-date.today {
    background: rgba(59, 130, 246, 0.16);
    border: 2px solid rgba(59, 130, 246, 0.85);
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(59, 130, 246, 0.25);
    color: #1e3a8a;
}

.calendar-legend {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.2);
}

.legend-dot.holiday {
    background: rgba(255, 222, 0, 0.35);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 10px;
    min-width: 110px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.modal-actions .btn-secondary {
    background: #f1f1f1;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.modal-actions .btn-secondary:hover {
    background: #e9e9e9;
    color: var(--deep-black);
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffe680 100%);
    color: var(--deep-black);
    box-shadow: 0 10px 22px rgba(255, 222, 0, 0.35);
}

.modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 222, 0, 0.45);
}

.tile {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 16px 14px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    transition: 0.2s ease;
    font-size: 12.5px;
    line-height: 1.25;
}

.tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 980px) {
    .account-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .account-sidebar {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: var(--white);
        color: var(--deep-black);
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

    .sidebar-nav {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        width: 100%;
        gap: 10px;
    }

    .sidebar-nav .tab-btn {
        background: #f7f9fc;
        color: var(--deep-black);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-left: none;
        font-weight: 600;
        padding: 12px 14px;
    }

    .sidebar-nav .tab-btn.active,
    .sidebar-nav .tab-btn:hover {
        background: rgba(255, 222, 0, 0.22);
        color: var(--deep-black);
        border-color: rgba(255, 222, 0, 0.6);
    }

    .sidebar-footer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.account-grid,
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.account-card {
    background: var(--white);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid rgba(16, 24, 40, 0.06);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.account-card:hover {
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.account-card h2,
.account-card h3 {
    margin-bottom: 16px;
    color: var(--deep-black);
}

.account-card .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffe680 100%);
    border: 1px solid rgba(255, 222, 0, 0.6);
    font-weight: 700;
    text-decoration: none;
    border-bottom: none;
    box-shadow: 0 8px 18px rgba(255, 222, 0, 0.25);
    transition: 0.2s ease;
}

.account-card .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(255, 222, 0, 0.35);
}

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

.account-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #556070;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.account-form input,
.account-form textarea,
.account-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    background: var(--white);
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-form input[readonly],
.account-form textarea[readonly],
.account-form select:disabled {
    background: #f3f4f6;
    color: #9aa3af;
    border-color: rgba(16, 24, 40, 0.08);
    box-shadow: none;
}

.account-form input[readonly]:focus,
.account-form textarea[readonly]:focus,
.account-form select:disabled:focus {
    outline: none;
    border-color: rgba(16, 24, 40, 0.08);
    box-shadow: none;
}

.account-form textarea {
    resize: vertical;
    min-height: 90px;
}

.account-form input:focus,
.account-form textarea:focus,
.account-form select:focus {
    outline: none;
    border-color: rgba(255, 222, 0, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 222, 0, 0.2);
}

.account-status {
    margin-top: 12px;
    font-size: 13px;
    color: #666;
}


.users-list {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.user-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
    background: var(--light-grey);
    border-radius: 10px;
    border: 1px solid rgba(16, 24, 40, 0.06);
}

.user-row-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.user-name {
    font-weight: 600;
    color: var(--deep-black);
}

.user-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.user-pass-input {
    flex: 1 1 180px;
    min-width: 160px;
}

.user-row-status {
    font-size: 12px;
    color: #1f8f4d;
    font-weight: 600;
}

.user-row-status.error {
    color: #c0392b;
}

.user-row select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.account-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border-radius: 18px;
    padding: 24px 28px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

.account-profile {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-photo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f5f7;
    border: 2px solid #e5e7eb;
}

.profile-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--deep-black);
}

.profile-role {
    font-size: 14px;
    color: #666;
}

.account-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-actions .btn-secondary {
    padding: 10px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffe680 100%);
    border: 1px solid rgba(255, 222, 0, 0.6);
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(255, 222, 0, 0.25);
}

.account-actions .btn-secondary:hover {
    color: var(--deep-black);
    border-color: rgba(255, 222, 0, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(255, 222, 0, 0.35);
}

.status-select {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tab-btn {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.tab-btn.active {
    background: var(--primary-yellow);
    color: var(--deep-black);
    border-color: transparent;
}

.account-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tab-panel {
    display: none;
}

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

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

#tab-dashboard .info-grid + .info-grid {
    margin-top: 28px;
}

.list-grid {
    display: grid;
    gap: 12px;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fafbfc;
    border: 1px solid rgba(16, 24, 40, 0.05);
    text-align: left;
}

.list-action {
    width: 100%;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.list-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

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

.quick-link {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--white);
    font-weight: 600;
    cursor: pointer;
}

.details-panel {
    background: var(--light-grey);
    border-radius: 12px;
    padding: 16px;
    min-height: 200px;
}

.details-block {
    margin-bottom: 18px;
}

.details-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.inline-form input,
.inline-form select {
    flex: 1 1 180px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.photo-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.file-browser {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-browser-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-path {
    font-size: 12px;
    color: #6b7280;
    word-break: break-all;
}

.file-actions {
    margin-top: 8px;
}

.file-item[data-path] {
    cursor: pointer;
}

.file-item[data-path]:hover {
    box-shadow: var(--shadow-sm);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.08);
    color: var(--deep-black);
}

.status-oczeksuje,
.status-oczekuje {
    background: rgba(255, 222, 0, 0.2);
}

.status-w-realizacji {
    background: rgba(0, 0, 0, 0.08);
}

.status-zakończone,
.status-zakonczone {
    background: rgba(46, 204, 113, 0.2);
}

.status-anulowane {
    background: rgba(231, 76, 60, 0.2);
}

.status-dobry {
    background: rgba(46, 204, 113, 0.2);
}

.status-uszkodzony {
    background: rgba(231, 76, 60, 0.2);
}

.status-wymaga-sprawdzenia {
    background: rgba(241, 196, 15, 0.25);
}

.status-open {
    background: rgba(255, 222, 0, 0.2);
}

.status-closed {
    background: rgba(46, 204, 113, 0.2);
}

.priority-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background: rgba(0, 0, 0, 0.08);
}

.priority-pilne {
    background: rgba(231, 76, 60, 0.2);
    color: #c0392b;
}

.priority-normal {
    background: rgba(0, 0, 0, 0.08);
}

.chat-box {
    min-height: 220px;
    max-height: 320px;
    overflow-y: auto;
    background: var(--light-grey);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.chat-message {
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--white);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}

.chat-message.mine {
    background: rgba(255, 222, 0, 0.2);
}

.chat-form {
    display: flex;
    gap: 10px;
}

.chat-form input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.muted {
    color: #777;
    font-size: 13px;
}

.account-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}

.account-admin-grid > div {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-card h4 {
    font-size: 15px;
    color: var(--deep-black);
    margin-bottom: 8px;
}

.admin-divider {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #667085;
}

/* Editor bar */
.editor-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-grey);
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.editor-btn {
    padding: 8px 14px;
    border: none;
    background: var(--primary-yellow);
    color: var(--deep-black);
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
}

.editor-btn.secondary {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.editor-status {
    font-size: 12px;
    color: #666;
}

.editor-active {
    outline: 2px dashed rgba(255, 222, 0, 0.6);
    outline-offset: 6px;
}

/* Contacts Page */
.contacts-main {
    padding: 80px 0;
    background: var(--white);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-section {
    padding: 30px;
    background: var(--light-grey);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: left;
}

.contact-section:hover {
    transform: translateY(-8px);
}

.contact-section h2 {
    font-size: 24px;
    color: var(--deep-black);
    margin-bottom: 8px;
}

.contact-section h3 {
    font-size: 16px;
    color: var(--deep-black);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.5;
}

.contact-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.6;
}

/* Contacts and Form Section */
.contacts-and-form {
    padding: 80px 0;
    background: var(--white);
}

.contacts-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.contact-section {
    padding: 30px;
    background: var(--light-grey);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-section:hover {
    transform: translateY(-8px);
}

.contact-section h2 {
    font-size: 24px;
    color: var(--deep-black);
    margin-bottom: 8px;
}

.contact-section h3 {
    font-size: 16px;
    color: var(--deep-black);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.5;
}

.contact-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.6;
}

/* Feedback Form */
.feedback-form {
    background: var(--light-grey);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.feedback-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--deep-black);
    margin-bottom: 24px;
    letter-spacing: -0.8px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--deep-black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 222, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group.inline label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.form-group.inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffe680 100%);
    color: var(--deep-black);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(255, 222, 0, 0.3);
    letter-spacing: 0.5px;
    font-size: 13px;
    border: none;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(255, 222, 0, 0.4);
}

/* Leadership Button */
.leadership-button-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.btn-leadership {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-yellow);
    color: var(--deep-black);
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(255, 222, 0, 0.3);
    letter-spacing: 0.5px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-leadership:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(255, 222, 0, 0.4);
}

@media (max-width: 768px) {
    .contacts-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.close-modal {
    color: var(--text-main);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-yellow);
}

.modal-content h2 {
    font-size: 24px;
    color: var(--deep-black);
    margin-bottom: 24px;
    margin-top: 0;
    padding-top: 0;
}

.leadership-form .form-group {
    margin-bottom: 20px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}

.lang-btn {
    padding: 6px 10px;
    background: transparent;
    color: var(--deep-black);
    border: 1.5px solid var(--primary-yellow);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.lang-btn:hover {
    background: var(--primary-yellow);
    color: var(--deep-black);
    transform: scale(1.05);
}

.lang-btn.active {
    background: var(--primary-yellow);
    color: var(--deep-black);
    font-weight: 700;
}

/* Responsive design for language switcher */
@media (max-width: 768px) {
    .language-switcher {
        gap: 3px;
    }
    
    .lang-btn {
        padding: 5px 8px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    nav {
        order: 3;
        width: 100%;
        min-height: 0;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 11px;
    }
    
    .language-switcher {
        gap: 2px;
    }
    
    .lang-btn {
        padding: 4px 6px;
        font-size: 9px;
        border-radius: 3px;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Cookies Consent Banner */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep-black);
    color: var(--white);
    padding: 20px;
    border-top: 4px solid var(--primary-yellow);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideUp 0.5s ease forwards;
}

.cookies-banner.show {
    transform: translateY(0);
}

.cookies-banner.hide {
    transform: translateY(100%);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.cookies-content {
    flex: 1;
    min-width: 250px;
}

.cookies-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-yellow);
}

.cookies-description {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.cookies-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookies-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cookies-btn-accept {
    background: var(--primary-yellow);
    color: var(--deep-black);
}

.cookies-btn-accept:hover {
    background: #ffe600;
    transform: scale(1.05);
}

.cookies-btn-decline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
}

.cookies-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
    transform: scale(1.05);
}

/* Responsive cookies banner */
@media (max-width: 768px) {
    .cookies-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookies-buttons {
        width: 100%;
    }

    .cookies-btn {
        flex: 1;
    }
}

/* Дополнительная оптимизация для планшетов и телефонов */
@media (max-width: 1024px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 14px;
    }

    nav ul {
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero {
        height: auto;
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        font-size: 18px;
    }

    .manifesto,
    .divisions,
    .quote-section,
    .news-section,
    .about-section,
    .contacts-main,
    .contacts-and-form,
    .why-choose-us,
    .division-intro,
    .division-advantages,
    .values-footer {
        padding: 60px 0;
    }

    .division-item {
        padding: 32px 24px;
    }

    .division-image {
        height: 180px;
        width: calc(100% + 48px);
        margin: -32px -24px 18px -24px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .divisions-overview .divisions-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .divisions-overview .division-link {
        padding: 32px;
    }

    .divisions .divisions-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .topbar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    nav {
        width: 100%;
    }

    nav ul {
        justify-content: flex-start;
        gap: 14px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .manifesto h2,
    .divisions h2,
    .news-section h2,
    .why-choose-us h2 {
        font-size: 30px;
        margin-bottom: 36px;
    }

    .quote-text {
        font-size: 22px;
    }

    .division-intro h1 {
        font-size: 32px;
    }

    .division-intro p {
        font-size: 16px;
    }

    .news-grid,
    .divisions-grid,
    .contacts-grid,
    .services-grid,
    .advantages-grid,
    .values-grid {
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .divisions-overview .divisions-grid {
        grid-template-columns: 1fr;
    }

    .divisions-overview .division-link {
        padding: 24px;
        min-height: 0;
    }

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

    .divisions .division-item {
        padding: 24px 18px;
    }

    .divisions .division-image {
        height: 150px;
        width: calc(100% + 36px);
        margin: -24px -18px 14px -18px;
    }
}

@media (max-width: 600px) {
    .logo {
        font-size: 20px;
        gap: 6px;
    }

    .logo-sub {
        display: none;
    }

    .hero {
        padding: 56px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    .division-item {
        padding: 26px 20px;
    }

    .division-image {
        height: 160px;
        width: calc(100% + 40px);
        margin: -26px -20px 16px -20px;
    }

    .quote-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    nav ul {
        gap: 10px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .manifesto h2,
    .divisions h2,
    .news-section h2,
    .why-choose-us h2 {
        font-size: 26px;
    }

    .division-intro h1 {
        font-size: 28px;
    }

    .division-item p,
    .news-item p,
    .manifesto p,
    .division-intro p {
        font-size: 14px;
    }
}