@font-face {
    font-family: 'DIN Alternate';
    src: url('DINAlternateBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.ri-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    color: currentColor;
    flex-shrink: 0;
    vertical-align: middle;
}

.ri-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Reset and Base Styles */
:root {
    --primary: #2f7d28;
    --primary-dark: #1f611d;
    --secondary: #003050;
    --accent-blue: #005080;
    --accent-green: #70b020;
    --text-dark: #14324a;
    --text-gray: #5f6d76;
    --text-light: #84919a;
    --bg-light: #eef3f5;
    --bg-soft: #f6f8f9;
    --bg-white: #ffffff;
    --border-color: #d8e1e6;
    
    --font-heading: 'DIN Alternate', 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --container-width: 1200px;
    --header-height: 90px;
    --left-bar-width: 50px;
    
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: #f3f6f7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.text-small {
    font-size: 0.8em;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--bg-white);
}

.btn-white {
    background-color: var(--bg-white);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

/* Layout Setup */
.left-contact-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--left-bar-width);
    height: calc(var(--header-height) + 800px); /* Height of header + hero */
    background-color: var(--bg-white);
    border-right: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-contact-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: var(--primary);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.contact-text {
    transform: rotate(-90deg);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-gray);
    margin-top: 50px;
}

.contact-text a {
    color: var(--text-dark);
}
.contact-text a:hover {
    color: var(--primary);
}

.contact-text .divider {
    width: 30px;
    height: 1px;
    background-color: var(--border-color);
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

/* Header */
.site-header {
    background-color: var(--bg-white);
    height: var(--header-height);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 999;
    margin-left: var(--left-bar-width);
    width: calc(100% - var(--left-bar-width));
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 0 40px;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
    padding-left: 30px;
    border-left: 1px solid var(--border-color);
    height: 30px;
    align-items: center;
}

.social-icons a {
    color: var(--text-dark);
    font-size: 14px;
}

.social-icons a:hover {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav a.active, .main-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn, .grid-btn, .mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.search-btn:hover, .grid-btn:hover {
    color: var(--primary);
}

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

.main-nav.is-open {
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    overflow: hidden;
    margin-left: var(--left-bar-width);
    width: calc(100% - var(--left-bar-width));
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 50px;
}

.hero-text-box {
    max-width: 800px;
}

.hero-title {
    color: var(--bg-white);
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.play-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary);
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.hero-nav {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.nav-arrow:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Features Section */
.features-section {
    position: relative;
    z-index: 10;
    padding-top: 60px;
    padding-bottom: 40px;
    background-color: var(--bg-white);
}

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

.feature-card {
    background-color: var(--bg-light);
    padding: 50px 30px;
    transition: var(--transition);
    position: relative;
    clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
    z-index: 1;
    overflow: hidden;
}

.feature-watermark {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 150px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.05);
    z-index: -1;
    line-height: 1;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background-color: var(--bg-white);
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.08));
}

.feature-card:hover .feature-watermark {
    -webkit-text-stroke-color: rgba(242, 91, 18, 0.1);
}

.feature-icon {
    font-size: 45px;
    color: var(--primary);
    margin-bottom: 25px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feature-text {
    font-size: 15px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Common Section Styles */
section {
    padding: 100px 0;
}

.section-subtitle {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.section-subtitle .ri-icon {
    font-size: 10px;
}

.section-title {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.text-primary {
    color: var(--primary);
}

.mt-30 {
    margin-top: 30px;
}

/* About Section */
.about-section {
    background-color: var(--bg-white);
    padding-top: 20px;
}

.about-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.about-subheading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 80px;
}

.about-main-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.scroll-top-btn {
    position: absolute;
    right: 30px;
    bottom: -20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

/* Counters */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.counter-box {
    text-align: left;
}

.counter-number-outline {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-gray);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
}

.counter-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Section Common Additions */
.section-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 10px 25px;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

/* Services Section */
.services-section {
    background-color: var(--bg-light);
    padding: 100px 0 150px;
}

.services-grid {
    display: grid;
    grid-template-columns: 3fr 4fr 3fr;
    gap: 30px;
    margin-bottom: 80px;
}

.services-tabs {
    background: transparent;
}

.tab-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.tab-list li.active a, .tab-list li a:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.tab-list li a i {
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.tab-list li.active a i, .tab-list li a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.services-content {
    padding: 20px 0;
}

.services-content-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.services-text {
    margin-bottom: 25px;
    font-size: 15px;
}

.services-features {
    margin-bottom: 30px;
}

.services-features li {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.read-more-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.read-more-link:hover {
    color: var(--primary);
}

/* Work Process */
.work-process-container {
    position: relative;
    padding-top: 50px;
}

.bg-text {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 180px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(0,0,0,0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.process-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
    position: relative;
    transition: var(--transition);
}
.process-card:hover {
    transform: translateY(-5px);
}

.process-title {
    font-size: 20px;
    margin-bottom: 20px;
    min-height: 48px;
}

.process-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.process-icon {
    font-size: 35px;
    color: var(--primary);
}

.process-number {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 800;
    color: var(--bg-light);
    line-height: 1;
}

.process-text {
    font-size: 15px;
    line-height: 1.7;
}

/* Responsive Update */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .bg-text {
        font-size: 80px;
    }
}
@media (max-width: 768px) {
    .section-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Recent Work Section */
.recent-work-section {
    padding: 100px 0 0; /* Removing bottom padding because of success banner */
    position: relative;
    z-index: 10;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.nav-arrow-dark {
    width: 45px;
    height: 45px;
    background-color: var(--bg-light);
    border: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.nav-arrow-dark:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 0; /* Remove negative margin to keep text flow natural */
    position: relative;
    z-index: 10;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.project-img {
    position: relative;
    width: 100%;
    height: 450px;
}

.project-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
}

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

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 30px;
    z-index: 2;
    transition: var(--transition);
}

.project-cat {
    background-color: var(--primary);
    color: var(--bg-white);
    font-size: 13px;
    padding: 6px 15px;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
    border-radius: 4px;
}

.project-title {
    color: var(--bg-white);
    font-size: 26px;
    margin-bottom: 0;
}

/* Success Banner */
.success-banner {
    padding: 30px 0 90px;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.success-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: -1;
}

.success-banner-inner {
    padding: 80px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--bg-white);
    position: relative;
    z-index: 1;
}

.success-banner-inner {
    background-color: var(--primary);
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: var(--bg-white);
    position: relative;
}

.success-stats {
    flex: 0 0 auto;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: 2px var(--bg-white);
    letter-spacing: -2px;
}

/* Add the abstract lines to the number */
.stat-number::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: -20px;
    width: calc(100% + 40px);
    height: 2px;
    background-color: var(--bg-white);
    z-index: -1;
}
.stat-number::before {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -10px;
    width: calc(100% + 20px);
    height: 2px;
    background-color: var(--bg-white);
    z-index: -1;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    margin-top: -10px;
}

.success-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
}

.success-btn {
    flex: 0 0 auto;
}

/* Responsive Update */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .success-banner-inner {
        flex-direction: column;
        text-align: center;
    }
    .success-text {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Common Utilities */
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.mt-50 { margin-top: 50px; }

/* Engineers Section */
.engineers-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

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

.engineer-card {
    text-align: center;
}

.engineer-img-wrapper {
    position: relative;
    padding: 0 20px;
}

.engineer-img-wrapper img {
    width: 100%;
    position: relative;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
    object-fit: cover;
    height: 400px;
}

.engineer-img-wrapper .bg-shape {
    position: absolute;
    top: -15px;
    right: 0;
    width: calc(100% - 20px);
    height: 100%;
    background-color: var(--bg-light);
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

.engineer-info {
    background-color: var(--bg-white);
    padding: 25px;
    margin: -50px auto 0;
    width: 85%;
    position: relative;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.engineer-info::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 35px;
    background-color: var(--primary);
}

.engineer-name {
    font-size: 20px;
    margin-bottom: 5px;
}

.engineer-role {
    font-size: 14px;
    color: var(--text-gray);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

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

.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.testi-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.testi-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-user-info {
    flex: 1;
}

.testi-name {
    font-size: 18px;
    margin-bottom: 2px;
}

.testi-role {
    font-size: 13px;
    color: var(--text-gray);
}

.testi-company {
    opacity: 0.5;
}

.testi-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.testi-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.testi-stars {
    color: var(--primary);
    font-size: 14px;
    display: flex;
    gap: 5px;
}

.testi-quote-icon {
    font-size: 40px;
    color: var(--bg-light);
}

/* Partners Section */
.partners-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.partner-card {
    background-color: var(--bg-white);
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
    transition: var(--transition);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.partner-card img {
    max-height: 50px;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partner-card:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Partners Carousel */
.partners-carousel-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.partners-carousel {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 20px;
    will-change: transform;
    transform: translateX(0);
}

.carousel-item {
    min-width: 220px;
    height: 140px;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
    text-transform: uppercase;
}

.carousel-item span {
    opacity: 0.7;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

@media (max-width: 1024px) {
    .carousel-item {
        min-width: 200px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }
    .carousel-item {
        min-width: 170px;
        height: 120px;
    }
}

/* Compliance Card */
.compliance-section {
    padding: 60px 0 100px;
    background-color: var(--bg-white);
}

.compliance-card {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 50px 40px;
    clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.compliance-title {
    font-size: 26px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.compliance-text {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 28px;
    line-height: 1.7;
}

.compliance-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background-color: var(--primary);
    color: var(--bg-white);
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition);
}

.compliance-btn:hover {
    background-color: var(--secondary);
    color: var(--bg-white);
}

/* FAQ */
.faq-section {
    padding: 80px 0 100px;
    background-color: var(--bg-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.faq-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0;
    clip-path: polygon(35px 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%, 0 35px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 22px 26px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
}

.faq-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 26px;
}

.faq-answer p {
    padding-bottom: 22px;
    color: var(--text-gray);
    line-height: 1.7;
}

.faq-item.open .faq-icon {
    background-color: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.faq-item.open .faq-question {
    color: var(--primary);
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .info-cards-grid,
    .catalog-grid,
    .category-grid,
    .product-grid,
    .two-col-panel,
    .contact-split,
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .page-hero-title {
        font-size: 40px;
    }

    .page-hero-text {
        font-size: 17px;
    }

    .dark-panel,
    .light-panel,
    .contact-form-card {
        padding: 32px 24px;
    }

    .catalog-grid,
    .info-cards-grid,
    .category-grid,
    .product-grid,
    .process-grid.process-grid-4 {
        grid-template-columns: 1fr;
    }

    .product-detail-copy h1 {
        font-size: 34px;
    }

    .product-detail-visual img {
        min-height: 300px;
    }
}

/* Info Content Migration */
.page-hero-simple {
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 120px 0 90px;
    position: relative;
    overflow: hidden;
}

.page-hero-simple::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(242, 91, 18, 0.22), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    pointer-events: none;
}

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

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-kicker::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 2px;
}

.page-hero-title {
    max-width: 820px;
    font-size: 58px;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--bg-white);
}

.page-hero-text {
    max-width: 760px;
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255,255,255,0.76);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background-color: var(--bg-white);
    padding: 36px 30px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 12px 36px rgba(0,0,0,0.04);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
}

.info-card-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(242, 91, 18, 0.12);
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 24px;
    border-radius: 8px;
}

.info-card-title {
    font-size: 24px;
    margin-bottom: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-card-text {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.info-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
}

.info-card-link:hover {
    gap: 14px;
}

.light-band {
    background-color: var(--bg-light);
}

.two-col-panel {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: stretch;
}

.editorial-form-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 32px;
    align-items: stretch;
}

.editorial-form-copy-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-form-metrics-panel {
    display: flex;
}

.stats-inline-sell {
    width: 100%;
    margin-top: 0;
    align-content: stretch;
}

.stats-inline-sell .stat-box {
    flex: 1 1 100%;
}

.editorial-form-form-panel {
    max-width: none;
}

.dark-panel {
    background-color: var(--secondary);
    color: var(--bg-white);
    padding: 50px;
    clip-path: polygon(35px 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%, 0 35px);
}

.dark-panel .section-title,
.dark-panel h3,
.dark-panel h4 {
    color: var(--bg-white);
}

.dark-panel p {
    color: rgba(255,255,255,0.72);
}

.light-panel {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 42px;
    clip-path: polygon(35px 0, 100% 0, 100% calc(100% - 35px), calc(100% - 35px) 100%, 0 100%, 0 35px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background-color: rgba(242, 91, 18, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.stats-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 32px;
}

.stats-inline .stat-box {
    min-width: 150px;
    padding: 18px 20px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
}

.stats-inline .stat-box strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    line-height: 1;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.stats-inline .stat-box span {
    color: rgba(255,255,255,0.75);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.catalog-card {
    background-color: var(--bg-white);
    padding: 32px 28px;
    border: 1px solid var(--border-color);
    clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
    transition: var(--transition);
}

.catalog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 91, 18, 0.28);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.catalog-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background-color: rgba(242, 91, 18, 0.09);
    font-size: 24px;
    margin-bottom: 22px;
    border-radius: 8px;
}

.catalog-title {
    font-size: 22px;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-text {
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.process-grid.process-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.process-card-simple {
    background-color: var(--bg-white);
    padding: 34px 26px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    clip-path: polygon(26px 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%, 0 26px);
}

.process-card-simple .step-mark {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 58px;
    font-weight: 800;
    color: rgba(0,0,0,0.05);
}

.process-card-simple h3 {
    margin-top: 18px;
    font-size: 24px;
}

.process-card-simple p {
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 34px;
}

.contact-card-list {
    display: grid;
    gap: 22px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 28px;
    clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.contact-info-card h4 {
    margin-bottom: 8px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-form-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 38px;
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
}

.contact-form-card label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
}

.contact-form-card textarea {
    min-height: 140px;
    resize: vertical;
}

.service-tabs {
    max-width: 980px;
    margin: 0 auto;
}

.service-tabs-intro {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--text-dark);
    opacity: 0.88;
}

.service-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 34px;
}

.service-tab-btn {
    border: 1px solid rgba(242, 91, 18, 0.14);
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 15px 26px;
    border-radius: 0;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    transition: var(--transition);
}

.service-tab-btn.active,
.service-tab-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(242, 91, 18, 0.18);
}

.service-tab-panel {
    display: none;
}

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

.equipment-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 500;
}

.equipment-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.equipment-item .ri-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(242, 91, 18, 0.08);
    color: var(--primary);
    font-size: 12px;
    flex-shrink: 0;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
    outline: none;
    border-color: rgba(242, 91, 18, 0.45);
    box-shadow: 0 0 0 3px rgba(242, 91, 18, 0.08);
}

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

.editorial-form-form-panel .content-volume-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-volume-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 140px;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: 14px;
    transition: var(--transition);
    cursor: pointer;
}

.content-volume-item:hover {
    border-color: rgba(243, 196, 78, 0.55);
}

.content-volume-item.is-active {
    border-color: rgba(243, 196, 78, 0.85);
    box-shadow: 0 10px 22px rgba(243, 196, 78, 0.14);
}

.content-volume-check {
    position: relative;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.content-volume-check input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.content-volume-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary);
    border-radius: 6px;
    background: var(--bg-white);
    transition: var(--transition);
}

.content-volume-check input:checked + .content-volume-indicator {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: inset 0 0 0 4px var(--bg-white);
}

.content-volume-name {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.45;
}

.content-volume-input-wrap input {
    margin: 0;
    text-align: center;
}

.content-volume-item .content-volume-input-wrap input:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f7f7f7;
}

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

.category-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 34px 30px;
    clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.07);
    border-color: rgba(242, 91, 18, 0.28);
}

.category-card h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.category-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

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

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.07);
}

.product-card-thumb {
    height: 210px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.product-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: 26px 24px 28px;
}

.product-card-body h3 {
    font-size: 24px;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card-body p {
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.breadcrumb-bar {
    padding: 24px 0 0;
}

.breadcrumb-bar a,
.breadcrumb-bar span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.breadcrumb-bar a {
    color: var(--primary);
}

.breadcrumb-bar span {
    color: var(--text-light);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.product-detail-visual {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    overflow: hidden;
    clip-path: polygon(32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%, 0 32px);
}

.product-detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 460px;
}

.product-detail-copy {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 38px 34px;
    clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.04);
}

.product-detail-copy h1 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.product-detail-copy p {
    color: var(--text-gray);
    line-height: 1.85;
    margin-bottom: 18px;
}

.blog-article-body {
    max-width: none;
    margin: 0;
    color: var(--text-gray);
    line-height: 1.85;
}

.editorial-article {
    display: flow-root;
}

.editorial-article-media {
    float: left;
    width: min(48%, 620px);
    margin: 0 38px 24px 0;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    overflow: hidden;
    clip-path: polygon(32px 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%, 0 32px);
}

.editorial-article-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.editorial-article-body {
    display: block;
}

.blog-article-body > *:first-child {
    margin-top: 0;
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
    color: var(--secondary);
    margin: 28px 0 14px;
}

.blog-article-body p,
.blog-article-body ul,
.blog-article-body ol,
.blog-article-body blockquote {
    margin-bottom: 18px;
}

.blog-article-body ul,
.blog-article-body ol {
    padding-left: 22px;
}

@media (max-width: 992px) {
    .editorial-article-media {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0 0 24px;
    }

    .editorial-article-media img {
        aspect-ratio: auto;
        min-height: 340px;
    }
}

.product-meta-list {
    display: grid;
    gap: 12px;
    margin: 28px 0 32px;
}

.product-meta-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
}

.product-meta-list i {
    color: var(--primary);
    margin-top: 2px;
}

/* Responsive Update */
@media (max-width: 1024px) {
    .engineers-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .engineers-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.blog-featured {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.blog-featured .blog-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-featured .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(0,0,0,0.8) 100%);
}

.blog-featured .blog-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    color: var(--bg-white);
    width: 100%;
}

.blog-meta {
    font-size: 13px;
    margin-bottom: 10px;
}

.blog-title {
    color: var(--bg-white);
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.blog-title a:hover, .blog-list-title a:hover {
    color: var(--primary);
}

.blog-text {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.blog-tag {
    background-color: var(--primary);
    color: var(--bg-white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    display: inline-block;
    border-radius: 2px;
}

.mt-10 { margin-top: 10px; }

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-list-item {
    display: flex;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.blog-list-content {
    padding: 30px;
    flex: 1;
}

.blog-list-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-list-text {
    font-size: 14px;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-list-img {
    width: 40%;
    flex: 0 0 40%;
    min-width: 240px;
}
.blog-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-posts-grid {
    align-items: stretch;
}

.related-post-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: stretch;
    min-height: 250px;
}

.related-post-card .blog-list-content {
    min-width: 0;
}

.related-post-card .blog-list-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-post-card .blog-list-text {
    -webkit-line-clamp: 3;
}

.related-post-card .blog-list-img {
    width: 220px;
    min-width: 220px;
    flex: none;
}

.blog-index-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: stretch;
    min-height: 250px;
}

.blog-index-card .blog-list-content {
    min-width: 0;
}

.blog-index-card .blog-list-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-index-card .blog-list-text {
    -webkit-line-clamp: 3;
}

.blog-index-card .blog-list-img {
    width: 220px;
    min-width: 220px;
    flex: none;
}

.blog-page-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: stretch;
}

.blog-side-list {
    display: grid;
    gap: 30px;
}

.blog-bottom-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.blog-pagination a {
    min-width: 46px;
    height: 46px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.blog-pagination a.active,
.blog-pagination a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-white);
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary);
    padding: 80px 0 40px;
    color: var(--text-gray);
}

.text-white { color: var(--bg-white) !important; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: stretch;
}

.contact-info-side {
    padding: 100px 0;
}

.contact-form-side {
    background-color: var(--primary);
    background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 10px 10px;
    padding: 60px 50px;
    border-radius: 8px 8px 0 0;
    color: var(--bg-white);
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.form-wrapper {
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary);
    padding: 80px 0 40px;
    color: var(--text-gray);
}

.contact-info-side {
    padding-bottom: 100px;
}

.contact-desc {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.7;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 10px;
}

.contact-detail-box {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border-radius: 4px;
}

.detail-text h4 {
    color: var(--bg-white);
    font-size: 16px;
    margin-bottom: 5px;
}
.detail-text p, .detail-text a {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-form-side {
    background-color: var(--primary);
    padding: 50px 50px 60px;
    border-radius: 8px 8px 0 0;
    color: var(--bg-white);
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
    margin-bottom: 0;
    height: 100%;
}

.form-title {
    color: var(--bg-white);
    font-size: 28px;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background-color: rgba(255,255,255,0.15);
    border: none;
    padding: 18px 20px;
    color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 15px;
    border-radius: 4px;
    transition: var(--transition);
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255,255,255,0.9);
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    background-color: rgba(255,255,255,0.25);
}

.form-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
}

.btn-dark {
    background-color: var(--secondary);
    color: var(--bg-white);
    margin-top: 10px;
}
.btn-dark:hover {
    background-color: var(--bg-white);
    color: var(--text-dark);
}

/* Footer */
.site-footer {
    background-color: #151515;
    padding: 80px 0 40px;
    color: var(--text-gray);
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr;
    gap: 60px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-text {
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-outline-text {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
    opacity: 0.5;
    margin-bottom: 20px;
}

.copyright {
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.footer-title {
    color: var(--bg-white);
    font-size: 20px;
    margin-bottom: 30px;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.links-grid ul li {
    margin-bottom: 12px;
}
.links-grid ul li a:hover {
    color: var(--primary);
}

.footer-form .input-group {
    position: relative;
}

.footer-form input {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 15px 40px 15px 20px;
    color: var(--bg-white);
    border-radius: 4px;
}
.footer-form .input-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
}

.footer-credit {
    display: flex;
    justify-content: center;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-credit a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.72);
    font-size: 13px;
    font-weight: 700;
}

.footer-credit a:hover {
    color: #fff;
}

.footer-credit strong {
    color: #fff;
}

.footer-credit__logo-wrap {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    transition: var(--transition);
}

.footer-credit__logo {
    width: 34px;
    height: 24px;
    object-fit: contain;
}

.footer-credit a:hover .footer-credit__logo-wrap {
    transform: translateY(-2px);
}

.mt-20 { margin-top: 20px; }

/* Responsive Update */
@media (max-width: 1024px) {
    .blog-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .blog-list-item {
        flex-direction: column-reverse;
    }
    .blog-list-img {
        width: 100%;
        height: 200px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-top-grid {
        grid-template-columns: 1fr;
    }
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }
    .counter-grid {
        grid-template-columns: 1fr;
    }
    .counter-number-outline {
        font-size: 60px;
    }
    .section-top-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .hero-title {
        font-size: 40px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-nav {
        display: none;
    }
    .left-contact-bar {
        display: none;
    }
    .main-wrapper {
        margin-left: 0;
    }
    .site-header, .hero-section {
        margin-left: 0;
        width: 100%;
    }
    .header-actions .btn-primary {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 50px;
    }
    .main-nav, .social-icons, .grid-btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .header-inner {
        padding: 0 20px;
    }
}

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

    .site-header,
    .hero-section {
        margin-left: 0;
        width: 100%;
    }

    .site-header {
        height: auto;
        min-height: var(--header-height);
    }

    .header-inner {
        position: relative;
        padding: 18px 20px;
        min-height: var(--header-height);
    }

    .logo {
        margin-right: 0;
    }

    .header-actions {
        gap: 12px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--border-color);
        border-radius: 4px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        width: 100%;
        padding: 18px 20px 22px;
        background-color: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
        z-index: 1000;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .main-nav a {
        font-size: 16px;
    }

    .hero-section {
        height: auto;
        min-height: 620px;
        padding: 90px 0 70px;
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-text-box {
        max-width: 100%;
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .hero-subtitle,
    .hero-description,
    .page-hero-text {
        max-width: 100%;
    }

    .contact-grid,
    .blog-page-grid,
    .blog-bottom-grid,
    .footer-grid,
    .links-grid,
    .contact-details-grid,
    .contact-card-list,
    .about-top-grid,
    .features-grid,
    .info-cards-grid,
    .catalog-grid,
    .category-grid,
    .product-grid,
    .process-grid,
    .process-grid.process-grid-4,
    .two-col-panel,
    .editorial-form-top-grid,
    .contact-split,
    .product-detail-layout {
        grid-template-columns: 1fr !important;
    }

    .stats-inline,
    .stats-inline[style] {
        flex-wrap: wrap !important;
    }

    .stats-inline .stat-box {
        flex: 1 1 calc(50% - 10px);
        min-width: 220px;
    }

    .stats-inline-sell .stat-box {
        flex-basis: calc(50% - 10px);
    }

    .service-tabs-nav {
        flex-wrap: wrap;
    }

    .service-tab-btn {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }

    .blog-grid[style],
    .partners-grid[style],
    .contact-card-list[style] {
        grid-template-columns: 1fr !important;
    }

    .blog-list-item {
        flex-direction: column-reverse;
    }

    .blog-list-img {
        width: 100%;
        height: 220px;
    }

    .related-post-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .blog-index-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .related-post-card .blog-list-img {
        width: 100%;
        min-width: 0;
        height: 220px;
    }

    .blog-index-card .blog-list-img {
        width: 100%;
        min-width: 0;
        height: 220px;
    }
}

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

    .section-title {
        font-size: 32px;
    }

    .page-hero-title,
    .product-detail-copy h1 {
        font-size: 32px;
    }

    .hero-section {
        min-height: 560px;
        padding: 80px 0 56px;
    }

    .hero-title {
        font-size: 38px;
        line-height: 1.08;
    }

    .hero-buttons,
    .hero-buttons.mt-4 {
        flex-direction: column;
        align-items: stretch;
        gap: 14px !important;
    }

    .hero-buttons .btn,
    .hero-buttons.mt-4 .btn {
        width: 100%;
    }

    .dark-panel,
    .light-panel,
    .contact-form-card,
    .blog-list-content,
    .service-tab-panel,
    .faq-item,
    .feature-card,
    .catalog-card,
    .info-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .stats-inline .stat-box {
        flex-basis: 100%;
        min-width: 0;
    }

    .stats-inline-sell .stat-box {
        flex-basis: 100%;
    }

    .service-tab-btn {
        flex-basis: 100%;
        width: 100%;
    }

    .editorial-form-form-panel .content-volume-list {
        grid-template-columns: 1fr;
    }

    .partners-carousel {
        padding: 0 18px;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-item {
        min-width: calc(100vw - 96px);
    }

    .blog-featured {
        min-height: 320px;
    }

    .blog-featured .blog-content {
        padding: 24px 20px;
    }

    .contact-card-list[style] {
        gap: 16px !important;
    }

    .contact-info-card p br {
        display: none;
    }
}

.hero-bg-video { position: absolute; inset: 0; overflow: hidden; z-index: 1; background: #000; }
.hero-bg-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-content { width: 100%; }


.about-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.locations-map-card {
    margin-top: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    padding: 18px;
}

.locations-map-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.location-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.location-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 210, 76, 0.18);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
}

.location-phone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 22px;
}

.location-phone-card {
    display: block;
    padding: 18px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0 22px 22px 22px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.04);
}

.location-phone-card--right {
    border-radius: 22px 0 22px 22px;
}

.location-phone-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.location-phone-card__label {
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
}

.location-phone-card h3 {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.35;
    color: var(--secondary);
    font-weight: 700;
}

.location-phone-card a {
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
}

.product-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.btn-inline {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.form-prefill-note {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: rgba(255,255,255,0.85);
    color: var(--text-dark);
}

.sell-form-inline {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
    gap: 18px;
    align-items: start;
}

.form-help {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 13px;
}

.product-gallery {
    display: grid;
    gap: 18px;
}

.product-gallery-stage {
    min-height: 460px;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 12px;
}

.product-gallery-thumb {
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.product-gallery-thumb img {
    display: block;
    width: 100%;
    height: 88px;
    object-fit: cover;
}

.product-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.product-cta-row .btn {
    flex: 1 1 220px;
    justify-content: center;
}

.blog-share-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

.blog-share-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.blog-share-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 148px;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
}

.blog-share-btn .ri-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.blog-share-btn span {
    font-size: 14px;
    font-weight: 700;
}

.blog-share-btn:hover {
    border-color: var(--primary);
    background: rgba(243, 196, 78, 0.08);
    color: var(--text-dark);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .about-top-grid,
    .sell-form-inline {
        grid-template-columns: 1fr;
    }
}

.contact-form-card .form-error {
    border-color: #d9534f !important;
    box-shadow: 0 0 0 4px rgba(217, 83, 79, 0.12);
}

.field-error-text {
    display: block;
    margin-top: 4px;
    margin-bottom: 12px;
    color: #b13832;
    font-size: 13px;
    font-weight: 600;
}

.contact-form-card .btn[disabled] {
    opacity: 0.8;
    cursor: wait;
}

.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: site-spin 0.8s linear infinite;
}

.contact-form-card .btn.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form-card .btn.is-loading .btn-spinner {
    display: inline-block;
}

@keyframes site-spin {
    to { transform: rotate(360deg); }
}

.logo-text,
.footer-logo-text {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--text-dark);
    font-family: "DIN Alternate", "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

.site-logo-img {
    width: 128px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

.footer-logo-text {
    color: #fff;
    min-height: auto;
}

.hero-bg-empty,
.locations-map-card--empty {
    background: linear-gradient(135deg, #f1f4f6, #ffffff);
}

.locations-map-card--empty {
    display: grid;
    min-height: 240px;
    place-items: center;
    color: var(--text-muted);
}

.site-header {
    margin-left: 0;
    width: 100%;
    height: auto;
    background:
        linear-gradient(180deg, rgba(246, 248, 249, 0.96), rgba(255, 255, 255, 0.94));
    border-bottom: 1px solid rgba(0, 48, 80, 0.12);
    box-shadow: 0 12px 30px rgba(0, 48, 80, 0.05);
}

.header-inner {
    min-height: 96px;
    padding: 0 34px;
}

.main-nav ul {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.news-hero,
.editorial-sections {
    background:
        linear-gradient(180deg, #f3f6f7 0%, #ffffff 48%, #f7fafb 100%);
    padding: 34px 0 54px;
}

.news-hero .container,
.editorial-sections .container {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(0, 48, 80, 0.08);
    box-shadow: 0 20px 55px rgba(0, 48, 80, 0.05);
    padding: 28px;
}

.news-kicker-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--secondary);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.trending-now {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(0, 48, 80, 0.12);
}

.trending-now strong {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    background: var(--secondary);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.trending-now__items {
    display: flex;
    gap: 20px;
    overflow: hidden;
    white-space: nowrap;
}

.trending-now__items a {
    position: relative;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 800;
}

.trending-now__items a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -12px;
    width: 4px;
    height: 4px;
    background: var(--accent-green);
    border-radius: 999px;
}

.magazine-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 48, 80, 0.12);
}

.magazine-strip-card {
    display: grid;
    grid-template-columns: minmax(110px, 0.88fr) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 150px;
    padding-bottom: 16px;
    border-bottom: 4px solid var(--section-accent, var(--accent-blue));
}

.magazine-strip-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--section-soft, #e7f0f6);
    border-radius: 6px;
}

.magazine-strip-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-strip-card__copy h2 {
    margin: 7px 0 0;
    font-size: 21px;
    line-height: 1.1;
}

.news-front-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.55fr);
    gap: 24px;
    padding-top: 24px;
}

.front-lead,
.stacked-story,
.latest-rail,
.section-story {
    border-bottom: 1px solid rgba(0, 48, 80, 0.13);
}

.front-media,
.stacked-story__media,
.section-story__media {
    display: block;
    background: #dfe9ed;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.front-media {
    aspect-ratio: 16 / 10;
    margin-bottom: 18px;
}

.front-media img,
.stacked-story__media img,
.section-story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-copy h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 0.98;
    margin: 10px 0 14px;
}

.front-copy p,
.stacked-story p,
.section-story p {
    color: #5e6872;
    line-height: 1.6;
}

.section-chip {
    display: inline-flex;
    width: fit-content;
    color: var(--section-accent, var(--primary));
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.story-meta {
    margin-top: 12px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 700;
}

.front-lead {
    border-top: 6px solid var(--section-accent, var(--secondary));
    padding-top: 14px;
}

.story-visual {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--section-soft, #e7f0f6), rgba(255,255,255,0.78)),
        radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--section-accent, #005080) 18%, transparent), transparent 30%);
    color: color-mix(in srgb, var(--section-accent, #005080) 36%, white);
    font-family: var(--font-heading);
    font-size: clamp(34px, 7vw, 96px);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.story-visual::before,
.story-visual::after {
    content: "";
    position: absolute;
    border: 1px solid color-mix(in srgb, var(--section-accent, #005080) 22%, transparent);
    pointer-events: none;
}

.story-visual::before {
    inset: 18px;
    border-radius: 6px;
}

.story-visual::after {
    width: 58%;
    aspect-ratio: 1;
    border-radius: 999px;
    transform: translate(34%, -28%);
}

.story-visual--op {
    background:
        repeating-linear-gradient(90deg, color-mix(in srgb, var(--section-accent) 10%, transparent) 0 1px, transparent 1px 28px),
        linear-gradient(135deg, var(--section-soft), #fff);
}

.story-visual--sb {
    background:
        radial-gradient(circle at 22% 28%, color-mix(in srgb, var(--section-accent) 16%, transparent), transparent 24%),
        linear-gradient(135deg, var(--section-soft), #fff);
}

.story-visual--ev {
    background:
        linear-gradient(45deg, color-mix(in srgb, var(--section-accent) 12%, transparent) 25%, transparent 25% 50%, color-mix(in srgb, var(--section-accent) 10%, transparent) 50% 75%, transparent 75%),
        linear-gradient(135deg, var(--section-soft), #fff);
    background-size: 38px 38px, auto;
}

.story-visual--ac {
    background:
        repeating-linear-gradient(0deg, color-mix(in srgb, var(--section-accent) 14%, transparent) 0 2px, transparent 2px 18px),
        linear-gradient(135deg, var(--section-soft), #fff);
}

.story-visual--ap {
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--section-accent) 14%, transparent) 0 2px, transparent 3px),
        linear-gradient(135deg, var(--section-soft), #fff);
    background-size: 22px 22px, auto;
}

.story-visual--tr {
    background:
        linear-gradient(120deg, transparent 0 42%, color-mix(in srgb, var(--section-accent) 12%, transparent) 42% 58%, transparent 58%),
        linear-gradient(135deg, var(--section-soft), #fff);
}

.story-visual--dn {
    background:
        repeating-radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--section-accent) 14%, transparent) 0 2px, transparent 2px 18px),
        linear-gradient(135deg, var(--section-soft), #fff);
}

.stacked-story {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 18px;
}

.stacked-story__media {
    aspect-ratio: 1 / 1;
}

.stacked-story h2,
.latest-item h3,
.section-story h3 {
    font-size: 20px;
    line-height: 1.12;
    margin: 6px 0 8px;
}

.latest-rail {
    align-self: start;
    border: 1px solid rgba(0, 48, 80, 0.14);
    border-top: 4px solid var(--accent-blue);
    padding: 18px;
    background: #f4f8fa;
    border-radius: 6px;
}

.latest-rail h2 {
    margin-bottom: 12px;
    font-size: 24px;
}

.latest-item {
    padding: 14px 0;
    border-top: 1px solid #e1e4e8;
}

.latest-item:first-of-type {
    border-top: 0;
}

.latest-item time {
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 800;
}

.section-block {
    padding: 38px 0;
    border-bottom: 2px solid #e1e8ec;
    background:
        linear-gradient(90deg, var(--section-soft, transparent), transparent 34%);
    margin: 0 -28px;
    padding-left: 28px;
    padding-right: 28px;
}

.section-block__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    border-bottom: 3px solid var(--section-accent, var(--secondary));
}

.section-block__header h2 {
    margin: 0;
    font-size: 28px;
}

.section-block__header a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 7px;
    color: var(--section-accent, var(--primary));
    font-weight: 900;
    font-size: 13px;
}

.section-story-grid {
    display: grid;
    grid-template-columns: 1.15fr repeat(3, minmax(0, 0.7fr));
    gap: 20px;
}

.section-story {
    display: grid;
    gap: 12px;
    padding-bottom: 18px;
}

.section-story__media {
    aspect-ratio: 4 / 3;
}

.section-story--large .section-story__media {
    aspect-ratio: 16 / 10;
}

.section-story--large h3 {
    font-size: 28px;
}

.home-module {
    padding: 34px 0;
    border-bottom: 1px solid rgba(0, 48, 80, 0.12);
}

.module-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--secondary);
}

.module-heading span,
.promo-banner span,
.newsletter-band span {
    display: block;
    margin-bottom: 4px;
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.module-heading h2 {
    margin: 0;
    font-size: 30px;
}

.module-heading a {
    padding-bottom: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.module-heading--small {
    border-color: var(--section-accent, var(--secondary));
}

.ad-slot {
    display: grid;
    place-items: center;
    min-height: 96px;
    padding: 18px;
    border: 1px dashed rgba(0, 80, 128, 0.34);
    background:
        linear-gradient(135deg, rgba(231, 240, 246, 0.72), rgba(255,255,255,0.76));
    color: var(--text-muted);
    text-align: center;
    border-radius: 6px;
}

.ad-slot span {
    display: block;
    color: var(--accent-blue);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.ad-slot strong {
    display: block;
    margin-top: 4px;
    color: var(--secondary);
    font-size: 18px;
}

.ad-slot--wide {
    min-height: 112px;
}

.ad-slot--content {
    margin: 8px 0 6px;
    min-height: 118px;
}

.compact-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.compact-news-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--section-accent, var(--accent-blue));
}

.compact-news-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--section-soft, #e7f0f6);
    border-radius: 6px;
}

.compact-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compact-news-card h3,
.headline-list h4,
.mini-story-list h4 {
    margin: 5px 0 6px;
    font-size: 17px;
    line-height: 1.14;
}

.compact-news-card time,
.headline-list time {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 800;
}

.split-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
    gap: 28px;
}

.section-feature,
.opinion-panel,
.vertical-section-card,
.magazine-section,
.popular-list {
    background:
        linear-gradient(180deg, var(--section-soft, #f4f8fa), rgba(255,255,255,0.94));
    border-top: 5px solid var(--section-accent, var(--secondary));
    padding: 20px;
    border-radius: 6px;
}

.feature-story__media,
.vertical-section-card__media,
.magazine-story__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--section-soft, #e7f0f6);
    border-radius: 6px;
}

.feature-story__media {
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
}

.feature-story__media img,
.vertical-section-card__media img,
.magazine-story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-story h3 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.04;
}

.feature-story p {
    color: #5e6872;
    line-height: 1.62;
}

.headline-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 48, 80, 0.13);
}

.opinion-panel {
    background:
        linear-gradient(180deg, var(--section-soft, #edf6ec), #ffffff);
}

.opinion-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 48, 80, 0.13);
}

.opinion-item:first-of-type {
    border-top: 0;
}

.opinion-avatar {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    background: var(--section-accent, var(--primary));
    color: #fff;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
}

.opinion-item strong {
    color: var(--section-accent, var(--primary));
    font-size: 13px;
}

.opinion-item h3 {
    margin: 4px 0 0;
    font-size: 21px;
    line-height: 1.12;
}

.promo-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin: 6px 0;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(0, 48, 80, 0.96), rgba(0, 80, 128, 0.86)),
        linear-gradient(90deg, rgba(112, 176, 32, 0.22), transparent);
    color: #fff;
    border-radius: 6px;
}

.promo-banner span {
    color: #bde081;
}

.promo-banner h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 34px;
}

.promo-banner p {
    margin: 0;
    color: rgba(255,255,255,0.8);
}

.promo-banner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    color: var(--secondary);
    border-radius: 6px;
    font-weight: 900;
    white-space: nowrap;
}

.triple-editorial {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.vertical-section-card__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    border-bottom: 3px solid var(--section-accent, var(--secondary));
}

.vertical-section-card__head h2 {
    margin: 0;
    font-size: 22px;
}

.vertical-section-card__head a {
    padding-bottom: 6px;
    color: var(--section-accent, var(--primary));
    font-size: 12px;
    font-weight: 900;
}

.vertical-section-card__media {
    aspect-ratio: 4 / 3;
    margin-bottom: 12px;
}

.vertical-section-card__lead h3 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.1;
}

.mini-story-list article {
    padding: 12px 0;
    border-top: 1px solid rgba(0, 48, 80, 0.13);
}

.lifestyle-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.magazine-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.magazine-story--wide {
    grid-column: 1 / -1;
}

.magazine-story__media {
    aspect-ratio: 4 / 3;
    margin-bottom: 10px;
}

.magazine-story--wide .magazine-story__media {
    aspect-ratio: 16 / 8;
}

.magazine-story h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.12;
}

.magazine-story--wide h3 {
    font-size: 27px;
}

.trends-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.popular-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(0, 48, 80, 0.13);
}

.popular-item:first-of-type {
    border-top: 0;
}

.popular-item > span {
    color: color-mix(in srgb, var(--accent-blue) 40%, white);
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

.popular-item h3 {
    margin: 5px 0 0;
    font-size: 22px;
    line-height: 1.12;
}

.commercial-rail {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 98px;
}

.ad-slot--box {
    min-height: 250px;
}

.ad-slot--tall {
    min-height: 430px;
}

.newsletter-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: 28px;
    margin-top: 6px;
    padding: 30px;
    background:
        linear-gradient(135deg, #edf6ec, #f7fafb);
    border: 1px solid rgba(0, 48, 80, 0.11);
    border-left: 6px solid var(--primary);
    border-radius: 6px;
}

.newsletter-band h2 {
    margin: 0 0 8px;
    font-size: 32px;
}

.newsletter-band p {
    margin: 0;
    color: #5e6872;
}

.newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.newsletter-form input {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(0, 48, 80, 0.16);
    background: #fff;
    border-radius: 6px;
}

.newsletter-form button {
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    background: var(--secondary);
    color: #fff;
    border-radius: 6px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1080px) {
    .magazine-strip {
        grid-template-columns: 1fr;
    }

    .compact-news-grid,
    .triple-editorial,
    .lifestyle-track {
        grid-template-columns: 1fr 1fr;
    }

    .split-editorial,
    .trends-layout,
    .newsletter-band {
        grid-template-columns: 1fr;
    }

    .commercial-rail {
        position: static;
        grid-template-columns: 1fr 1fr;
    }

    .ad-slot--tall {
        min-height: 250px;
    }

    .news-front-grid,
    .section-story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .latest-rail,
    .section-story--large {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .header-inner {
        padding: 0 18px;
    }

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

    .trending-now__items {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .magazine-strip-card {
        grid-template-columns: 1fr;
    }

    .news-front-grid,
    .section-story-grid,
    .stacked-story,
    .compact-news-grid,
    .headline-list,
    .triple-editorial,
    .lifestyle-track,
    .magazine-section__grid,
    .commercial-rail,
    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .front-copy h1 {
        font-size: 34px;
    }

    .section-block__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .module-heading,
    .promo-banner,
    .newsletter-band {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .promo-banner a {
        width: fit-content;
        white-space: normal;
    }

    .feature-story h3,
    .promo-banner h2,
    .newsletter-band h2 {
        font-size: 28px;
    }

    .compact-news-card {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

.product-gallery-stage {
    position: relative;
}

.product-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(36, 53, 67, 0.82);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.product-gallery-arrow:hover {
    background: var(--primary);
    color: var(--text-dark);
}

.product-gallery-arrow.prev {
    left: 18px;
}

.product-gallery-arrow.next {
    right: 18px;
}

@media (max-width: 768px) {
    .product-gallery-arrow {
        width: 40px;
        height: 40px;
    }

    .product-gallery-arrow.prev {
        left: 12px;
    }

    .product-gallery-arrow.next {
        right: 12px;
    }
}


.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: flex;
    justify-content: center;
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent__content {
    width: min(920px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 16px;
    background: rgba(24, 32, 40, 0.96);
    color: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.cookie-consent__content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

i.fas,
i.fa,
i.fa-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
    min-width: 1.1em;
    font-style: normal;
    line-height: 1;
}

i.fas::before,
i.fa::before,
i.fa-solid::before {
    display: inline-block;
    font-family: inherit;
    font-weight: 700;
    content: "•";
}

i.fa-bars::before {
    content: "☰";
}

i.fa-circle::before {
    content: "●";
}

i.fa-square::before {
    content: "■";
}

i.fa-arrow-right::before {
    content: "→";
}

i.fa-arrow-left::before {
    content: "←";
}

i.fa-check::before,
i.fa-check-circle::before {
    content: "✓";
}

i.fa-balance-scale::before {
    content: "⚖";
}

i.fa-recycle::before {
    content: "↺";
}

i.fa-truck::before,
i.fa-truck-fast::before,
i.fa-truck-loading::before {
    content: "▣";
}

i.fa-industry::before,
i.fa-gears::before {
    content: "◧";
}

i.fa-users::before {
    content: "◎";
}

i.fa-coins::before {
    content: "◍";
}

i.fa-shield-alt::before,
i.fa-shield-halved::before,
i.fa-file-contract::before {
    content: "◆";
}

@media (max-width: 767px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

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

    .cookie-consent__actions {
        width: 100%;
        flex-direction: column;
    }

    .location-phone-grid {
        grid-template-columns: 1fr;
    }

    .location-phone-card,
    .location-phone-card--right {
        border-radius: 24px;
    }

    .location-phone-card h3 {
        font-size: 16px;
    }

    .location-phone-card a {
        font-size: 16px;
    }
}
