/* 
   ==========================================================================
   "Karpovskiy Severniy" JSC - Core Stylesheet
   Design System: Corporate, Modern, Premium
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Ubuntu+Sans:wght@300;400;500;700&display=swap');

:root {
  /* Color Palette */
  --primary-color: #005fa6;
  --primary-hover: #004d85;
  --secondary-color: #1890d7;
  --accent-color: #fcb900;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --text-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  
  /* Fonts */
  --font-primary: 'Ubuntu Sans', 'Roboto', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  outline: none;
  border: none;
}

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

.section-padding {
  padding: 80px 0;
}

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

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

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 45px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* HEADER SECTION */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.site-header.scrolled {
  height: 70px;
  background-color: var(--bg-white);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 25px;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary-color);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
}

/* Language & Action Widgets */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-selector {
  display: flex;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 500;
}

.lang-btn {
  padding: 3px 6px;
  border-radius: 3px;
  cursor: pointer;
  background-color: transparent;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.lang-btn:hover:not(.active) {
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin-bottom: 5px;
  transition: all var(--transition-normal);
}

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

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* HERO SLIDER */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 0;
  overflow: hidden;
  background-color: #000;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity var(--transition-slow);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.15);
  transition: transform 8s ease-out;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  color: var(--text-white);
  max-width: 750px;
  padding: 0 20px;
  transform: translateY(40px);
  opacity: 0;
  transition: all 1s ease-out 0.3s;
}

.hero-slide.active .hero-slide-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  font-family: var(--font-primary);
}

.hero-slide-text {
  font-size: 1.2rem;
  margin-bottom: 35px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  color: rgba(255, 255, 255, 0.9);
}

/* Slider Controls */
.slider-bullets {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
}

.slider-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.slider-bullet.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
  border-color: rgba(255,255,255,0.8);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-normal);
}

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

.slider-arrow-prev {
  left: 30px;
}

.slider-arrow-next {
  right: 30px;
}

/* PRODUCTION METRICS (COUNTERS) */
.metrics-section {
  background-color: var(--bg-white);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.02);
  position: relative;
  z-index: 15;
  margin-top: -50px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.metrics-intro {
  margin-bottom: 40px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary-color);
  text-align: center;
}

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

.metric-card {
  text-align: center;
  padding: 30px 15px;
  border-radius: 8px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.metric-number-wrapper {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.metric-suffix {
  font-size: 1.5rem;
  font-weight: 600;
  margin-left: 2px;
}

.metric-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ASSETS IMAGES CAROUSEL */
.assets-section {
  padding-bottom: 100px;
}

.assets-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.assets-carousel {
  display: flex;
  gap: 24px;
  transition: transform var(--transition-slow);
}

.asset-slide {
  flex: 0 0 calc(33.333% - 16px);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 380px;
  box-shadow: var(--shadow-sm);
  group: hover;
}

.asset-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.asset-slide:hover .asset-image {
  transform: scale(1.08);
}

.asset-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 24px;
  color: var(--text-white);
}

.asset-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.asset-subtitle {
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: var(--bg-white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-normal);
}

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

.carousel-nav-prev {
  left: 10px;
}

.carousel-nav-next {
  right: 10px;
}

/* CREDIT RATINGS SECTION */
.ratings-section {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

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

.ratings-text h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

.ratings-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

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

.rating-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 35px 20px;
  text-align: center;
  transition: all var(--transition-normal);
}

.rating-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-color);
}

.rating-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-family: var(--font-secondary);
}

.rating-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
}

.rating-logo svg {
  max-width: 100px;
  height: 32px;
}

/* IMPACT BANNERS */
.impact-banners {
  display: flex;
  width: 100%;
}

.impact-banner {
  flex: 1;
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px;
  color: var(--text-white);
}

.impact-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.impact-banner:hover .impact-banner-bg {
  transform: scale(1.06);
}

.impact-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  z-index: 1;
}

.impact-banner-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.impact-banner-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.impact-banner-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 25px;
}

/* ECOLOGY SLIDER */
.ecology-section {
  background-color: var(--bg-white);
}

.eco-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
  background-color: var(--bg-light);
}

.eco-slides {
  display: flex;
  transition: transform var(--transition-slow);
}

.eco-slide {
  min-width: 100%;
  display: flex;
  align-items: stretch;
}

.eco-slide-content {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eco-slide-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.eco-slide-text {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.75;
}

.eco-slide-img-wrapper {
  flex: 1;
  min-height: 380px;
  position: relative;
}

.eco-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.eco-nav-btn {
  position: absolute;
  bottom: 20px;
  left: 50px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.eco-arrow {
  width: 40px;
  height: 40px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.eco-arrow:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-white);
}

/* PROJECTS GRID */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.projects-header .section-title {
  margin-bottom: 0;
}

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

.project-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.project-card-image-wrapper {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.project-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-card-image {
  transform: scale(1.06);
}

.project-card-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-color);
  color: var(--text-dark);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.project-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.4;
  flex-grow: 1;
}

.project-card-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: gap var(--transition-fast);
}

.project-card-link:hover {
  color: var(--secondary-color);
  gap: 12px;
}

/* SUSTAINABLE DEVELOPMENT SEGMENT */
.sustainable-promo {
  background-color: var(--primary-color);
  color: var(--text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sustainable-promo-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('drilling-worker-v2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.sustainable-promo .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.sustainable-promo h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.sustainable-promo p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 35px;
  line-height: 1.6;
}

/* PARTNERS LOGO MARQUEE */
.partners-section {
  background-color: var(--bg-white);
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 40px;
  position: relative;
  width: 100%;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: 40px;
  animation: marquee 25s linear infinite;
}

.marquee-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}

.marquee-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity var(--transition-fast);
}

.marquee-logo img:hover {
  opacity: 1;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* FOOTER */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 4px solid var(--accent-color);
}

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

.footer-title {
  color: var(--text-white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-logo span {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 1px;
  display: block;
  color: #64748b;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--text-white);
  padding-left: 5px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-icon {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-top: 3px;
}

.hotline-highlight {
  background-color: rgba(252, 185, 0, 0.1);
  border: 1px dashed var(--accent-color);
  padding: 15px;
  border-radius: 6px;
  margin-top: 15px;
}

.hotline-title {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.hotline-number {
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-copyright {
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-link:hover {
  color: var(--text-white);
}

/* SUBPAGE HEADER (HERO) */
.subpage-hero {
  height: 280px;
  background-color: var(--primary-color);
  position: relative;
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  color: var(--text-white);
  overflow: hidden;
}

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

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

.subpage-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb-separator {
  color: rgba(255,255,255,0.4);
}

.breadcrumb-current {
  color: var(--accent-color);
  font-weight: 500;
}

/* SUBPAGE - COMPANY */
.history-timeline {
  position: relative;
  padding: 40px 0;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: var(--border-color);
}

.timeline-item {
  width: 50%;
  margin-bottom: 50px;
  position: relative;
  padding: 0 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-badge {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 4px solid var(--bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -10px;
}

.timeline-content {
  background-color: var(--bg-white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: inline-block;
  text-align: left;
  max-width: 90%;
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.timeline-desc {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* SUBPAGE - SUSTAINABLE DEVELOPMENT */
.principles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.principle-item {
  display: flex;
  gap: 20px;
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.principle-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.principle-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.principle-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.principle-text {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* SUBPAGE - PROCUREMENT */
.procurement-search-box {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  display: flex;
  gap: 15px;
  border: 1px solid var(--border-color);
}

.search-input-wrapper {
  flex-grow: 1;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  background-color: var(--bg-light);
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary-color);
  background-color: var(--bg-white);
}

.filter-select {
  padding: 14px 20px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.95rem;
  background-color: var(--bg-white);
  cursor: pointer;
  min-width: 180px;
}

.tenders-table-wrapper {
  background-color: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow-x: auto;
}

.tenders-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.tenders-table th {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
}

.tenders-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

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

.tenders-table tr:hover td {
  background-color: var(--bg-light);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-active {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-closed {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* SUBPAGE - CONTACTS & MAP & FORM */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contacts-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-card-text {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.map-mockup {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 320px;
  background-color: #e5e9f0;
  position: relative;
}

.map-svg {
  width: 100%;
  height: 100%;
}

.map-pin {
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.map-pin:hover {
  transform: scale(1.2);
}

.map-popup {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-white);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  width: 250px;
  z-index: 5;
  text-align: center;
}

.map-popup h4 {
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.map-popup p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.feedback-form-wrapper {
  background-color: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid var(--border-color);
}

.feedback-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary-color);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.95rem;
  background-color: var(--bg-light);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: var(--bg-white);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* RESPONSIVE MEDIA QUERIES */

@media (max-width: 1024px) {
  .nav-list {
    gap: 15px;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .asset-slide {
    flex: 0 0 calc(50% - 12px);
    height: 340px;
  }
  
  .ratings-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-top > div:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  /* Mobile Navigation Drawer */
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
    transition: left var(--transition-normal);
    z-index: 999;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    width: 100%;
    height: auto;
    gap: 0;
  }
  
  .nav-item {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 0;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .hero-slide-title {
    font-size: 2.25rem;
  }
  
  .hero-slide-text {
    font-size: 1rem;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .asset-slide {
    flex: 0 0 100%;
    height: 300px;
  }
  
  .ratings-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .impact-banners {
    flex-direction: column;
  }
  
  .impact-banner {
    padding: 40px 24px;
    height: 320px;
  }
  
  .eco-slide {
    flex-direction: column;
  }
  
  .eco-slide-img-wrapper {
    height: 250px;
    min-height: auto;
  }
  
  .eco-slide-content {
    padding: 30px 20px 80px 20px;
  }
  
  .eco-nav-btn {
    left: 20px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .sustainable-promo h2 {
    font-size: 1.85rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-top > div:last-child {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  /* Timeline Responsive */
  .history-timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 45px;
    padding-right: 0;
  }
  
  .timeline-badge {
    left: 10px !important;
  }
  
  .timeline-content {
    max-width: 100%;
  }
  
  /* Sustainable subpage */
  .principles-list {
    grid-template-columns: 1fr;
  }
  
  /* Procurement search */
  .procurement-search-box {
    flex-direction: column;
    gap: 12px;
  }
  
  .filter-select {
    width: 100%;
  }
  
  /* Contacts subpage */
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contacts-info-cards {
    grid-template-columns: 1fr;
  }
  
  .feedback-form-wrapper {
    padding: 24px 20px;
  }
}

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