/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  background: #FFFFFF;
  color: #1D1B1B;
  overflow-x: hidden;
  width: 100%;
}

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

a { text-decoration: none; }

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

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header .red-square {
  width: 8px; height: 8px; background: #A81C1E; flex-shrink: 0;
}

.section-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; line-height: 20px; color: #1D1B1B;
}

.section-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 44px; font-weight: 500; line-height: 53px; color: #1D1B1B;
  margin-top: 4px;
}

/* ===== HERO SECTION (Group 554) ===== */
.hero-section {
  width: 100%; max-width: 1440px; margin: 0 auto;
  position: relative; min-height: 953px; background: #FFFFFF;
}

.hero-inner {
  max-width: 1320px; margin: 0 auto; padding-left: 120px;
  position: relative; min-height: 800px;
}

.hero-bg-img {
  position: absolute; top: 0; right: 0;
  width: 608px; height: 800px; object-fit: cover;
}

/* -- HEADER -- */
.header {
  display: flex; align-items: center; padding-top: 36px;
  max-width: 1200px; position: relative; z-index: 10;
}

.header-logo { width: 157px; height: 38px; flex-shrink: 0; }

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

.header-nav {
  display: flex; align-items: center; gap: 20px;
  margin-left: 46px; flex-wrap: wrap;
}

.header-nav a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; line-height: 20px; text-transform: uppercase;
  color: #1D1B1B; display: flex; align-items: center; gap: 4px; white-space: nowrap;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #0D78B7;
}

.header-nav a .arr-down { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }

.header-nav a .arr-down svg { width: 8px; height: 4.93px; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
  margin-left: auto;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #1D1B1B;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-line + .hamburger-line {
  margin-top: 5px;
}

/* Active state (X shape) */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #FFFFFF;
  z-index: 999;
  flex-direction: column;
  padding: 80px 30px 30px;
  transition: right 0.35s ease;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  display: block;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1D1B1B;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid #F0F2F4;
  transition: color 0.2s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: #0D78B7;
}

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

.header-email {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; line-height: 20px; text-transform: uppercase;
  color: #FFFFFF; margin-right: 16px;
}

.header-phone {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; font-weight: 500; line-height: 20px; text-align: right;
  color: #FFFFFF; margin-right: 16px;
}

.header-tg {
  width: 38px; height: 38px; border: 1px solid #FFFFFF;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 10px;
}

.header-tg svg { width: 16px; height: 16px; }

.header-btn {
  display: flex; align-items: center; justify-content: center;
  width: 90px; height: 38px; border: 1px solid #FFFFFF; background: transparent;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px; font-weight: 500; line-height: 17px; color: #FFFFFF;
  padding: 10px 15px 11px;
}

/* -- HERO TEXT (Group 9) -- */
.hero-text-block { width: 590px; padding-top: 246px; position: relative; z-index: 5; }

.hero-label { display: flex; align-items: center; gap: 8px; }

.hero-label .rsq { width: 8px; height: 8px; background: #A81C1E; flex-shrink: 0; }

.hero-label-txt {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; line-height: 20px; color: #1D1B1B;
}

.hero-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 49px; font-weight: 500; line-height: 59px; color: #1D1B1B;
  margin-top: 30px; width: 590px;
}

.hero-sub {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 31px; font-weight: 300; line-height: 37px; color: #1D1B1B;
  margin-top: 197px; width: 590px;
}

.hero-stats { margin-top: 77px; }

.hero-stats-row { display: flex; gap: 20px; }

.hero-stat-sm {
  width: 285px; height: 36px; border-bottom: 1px solid #F0F2F4;
  display: flex; align-items: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; line-height: 22px; color: #1D1B1B;
}

.hero-stat-sm .arw { margin-left: auto; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }

.hero-stat-sm .arw svg { width: 11.92px; height: 11.92px; }

.hero-stat-lg {
  width: 590px; height: 36px; border-bottom: 1px solid #F0F2F4;
  display: flex; align-items: center; margin-top: 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; line-height: 22px; color: #1D1B1B;
}

.hero-stat-lg .arw { margin-left: auto; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }

.hero-stat-lg .arw svg { width: 11.92px; height: 11.92px; }

.hero-btns { display: flex; gap: 20px; margin-top: 40px; }

.hero-btn-primary {
  display: flex; align-items: center; justify-content: center;
  width: 285px; height: 58px; background: #0D78B7; border: none;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; font-weight: 500; line-height: 22px; color: #FFFFFF;
  padding: 18px 55px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-btn-primary:hover {
  background: #0a5d8f;
}

.hero-btn-secondary {
  display: flex; align-items: center; justify-content: center;
  width: 285px; height: 58px; background: transparent; border: 1px solid #A81C1E;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; font-weight: 500; line-height: 22px; color: #A81C1E;
  padding: 18px 55px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-btn-secondary:hover {
  background: #A81C1E;
  color: #FFFFFF;
}

/* -- CLIENT CARD (Group 6) -- */
.client-card {
  position: absolute; top: 615px; left: 813px;
  width: 387px; height: 125px; background: #FFFFFF;
  display: flex; z-index: 10;
}

.client-card-img { width: 140px; height: 125px; border: 4px solid #FFFFFF; flex-shrink: 0; object-fit: cover; }

.client-card-info { padding: 16px 20px; flex: 1; }

.client-card-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; font-weight: 500; line-height: 22px; color: #1D1B1B;
  white-space: pre-line;
}

.client-card-loc {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px; line-height: 17px; color: #ABAFB5; margin-top: 26px;
}

.client-card-link {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; line-height: 20px; color: #A81C1E;
  display: flex; align-items: center; gap: 4px; margin-top: 5px;
}

.client-card-link svg { width: 14px; height: 14px; }

/* -- STATS BAR (Group 16) -- */
.stats-bar {
  width: 100%; max-width: 1440px; margin: 0 auto;
  border-top: 1px solid #F0F2F4; border-bottom: 1px solid #F0F2F4;
  min-height: 93px; display: flex; align-items: center;
}

.stats-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 120px;
  display: flex; align-items: center; gap: 61px; justify-content: space-between;
  width: 100%;
}

.stat-item {
  display: flex; align-items: center; gap: 0; width: 285px;
}

.stat-number {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 44px; font-weight: 500; line-height: 53px; color: #A81C1E; flex-shrink: 0;
}

.stat-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; line-height: 22px; color: #1D1B1B;
  margin-left: 16px;
}

.stat-divider {
  width: 1px; height: 93px; background: #F0F2F4; flex-shrink: 0;
}

/* ===== SERVICES (Group 12) ===== */
.services-section {
  max-width: 1200px; margin: 0 auto; padding: 0 120px; padding-top: 60px;
}

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

.service-card {
  background: #FFFFFF; border: 1px solid #F0F2F4;
  padding: 20px; min-height: 241px; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.service-card-icon {
  width: 38px; height: 38px; background: #0D78B7;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.service-card-icon svg { width: 16px; height: 16px; }

.service-card-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 25px; font-weight: 500; line-height: 30px; color: #1D1B1B;
  margin-top: auto; width: 245px;
}

.service-card-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 48px; border: 1px solid #A81C1E; background: transparent;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; font-weight: 500; text-align: center; line-height: 20px; color: #A81C1E;
  margin-top: 10px; padding: 18px 55px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card-btn:hover {
  background: #A81C1E;
  color: #FFFFFF;
}

/* ===== CATALOG (Group 588) ===== */
.catalog-section {
  max-width: 1200px; margin: 0 auto; padding: 0 120px; padding-top: 80px;
}

.catalog-top {
  display: flex; align-items: center; justify-content: space-between;
}

.catalog-all-link {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; font-weight: 500; text-align: right; line-height: 20px; color: #A81C1E;
  display: flex; align-items: center; gap: 0;
}

.catalog-all-link svg { width: 18px; height: 18px; }

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

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

.catalog-card { width: 285px; }

.catalog-card-img {
  width: 285px; height: 180px; object-fit: cover; border: 1px solid #F0F2F4;
}

.catalog-card-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px; font-weight: 500; line-height: 24px; color: #1D1B1B; margin-top: 10px;
}

.catalog-card-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; line-height: 22px; color: #ABAFB5; margin-top: 8px; width: 285px;
}

.catalog-card-link {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; line-height: 20px; color: #A81C1E;
  display: flex; align-items: center; gap: 4px; margin-top: 10px;
  transition: color 0.3s ease;
}

.catalog-card-link svg { width: 14px; height: 14px; }

.catalog-card-link:hover {
  color: #0D78B7;
}

.catalog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ===== PORTFOLIO (Group 557) ===== */
.portfolio-section {
  max-width: 1200px; margin: 0 auto; padding: 0 120px; padding-top: 80px;
}

.portfolio-top {
  display: flex; align-items: center; justify-content: space-between;
}

.portfolio-all-link {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; font-weight: 500; text-align: center; line-height: 20px; color: #A81C1E;
  display: flex; align-items: center;
}

.portfolio-all-link svg { width: 18px; height: 18px; }

.portfolio-row {
  display: flex; gap: 20px; margin-bottom: 20px;
}

.portfolio-card-sm {
  width: 488px; height: 320px; position: relative; overflow: hidden; flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card-sm:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.portfolio-card-sm > img { width: 100%; height: 100%; object-fit: cover; }

.portfolio-card-lg {
  width: 692px; height: 320px; position: relative; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card-lg:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.portfolio-card-lg > img { width: 100%; height: 100%; object-fit: cover; }

.portfolio-tags {
  position: absolute; top: 20px; left: 20px; display: flex; flex-wrap: wrap; gap: 12px;
}

.portfolio-tag {
  display: flex; align-items: center; padding: 6px 12px; background: #0D78B7;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; font-weight: 500; text-align: center; line-height: 20px; color: #FFFFFF;
}

.portfolio-bottom {
  position: absolute; bottom: 20px; left: 20px;
}

.portfolio-loc {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; line-height: 22px; color: #ABAFB5;
}

.portfolio-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 25px; font-weight: 500; line-height: 30px; color: #FFFFFF;
}

.portfolio-arrow {
  position: absolute; bottom: 20px; right: 20px;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
}

.portfolio-arrow svg { width: 16.25px; height: 16.25px; }

.portfolio-card-blue {
  width: 488px; height: 320px; background: #0D78B7; position: relative; overflow: hidden; flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.portfolio-card-blue:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  background: #09669c;
}

/* Portfolio row 2 - using flexbox instead of hard margin-left */
.portfolio-row-right {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 20px;
}

.portfolio-card-sm-right {
  width: 488px; height: 320px; position: relative; overflow: hidden; flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card-sm-right:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ===== SCROLL FADE-IN ANIMATIONS ===== */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== EPC PROCESS (Group 34) ===== */
.epc-section {
  width: 100%; max-width: 1440px; margin: 0 auto; padding-top: 80px;
}

.epc-inner {
  display: flex; max-width: 1320px; margin: 0 auto; padding-left: 120px; position: relative;
}

.epc-image {
  width: 608px; height: 671px; object-fit: cover; flex-shrink: 0;
}

.epc-right {
  padding-left: 122px; padding-top: 21px;
}

.epc-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 44px; font-weight: 300; line-height: 53px; color: #1D1B1B;
  margin-top: 30px; width: 590px; white-space: pre-line;
}

.epc-divider {
  width: 1px; height: 625px; background: #F0F2F4; margin-top: 20px; margin-left: 0;
}

.epc-steps { margin-top: 0; }

.epc-step {
  display: flex; align-items: flex-start; margin-bottom: 0;
}

.epc-step-line {
  width: 38px; min-height: 80px; border-left: 2px solid #0D78B7; flex-shrink: 0;
}

.epc-step-body {
  margin-left: 16px; flex: 1; min-height: 80px;
}

.epc-step-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px; font-weight: 500; line-height: 24px; color: #1D1B1B;
}

.epc-step-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; line-height: 22px; color: #ABAFB5;
  margin-top: 12px; width: 536px;
}

.epc-step-icon {
  width: 38px; height: 38px; background: #0D78B7;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.epc-step-icon svg { width: 16px; height: 16px; }

/* ===== TESTIMONIAL (Group 36) ===== */
.testimonial {
  max-width: 1200px; margin: 0 auto; padding: 0 120px; padding-top: 80px;
  position: relative; min-height: 489px;
}

.testimonial-name {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 44px; font-weight: 300; line-height: 53px; color: #1D1B1B;
  margin-top: 51px;
}

.testimonial-line {
  width: 590px; height: 1px; background: #F0F2F4; margin-top: 233px;
}

.testimonial-quote {
  width: 590px; margin-top: 42px;
}

.testimonial-quote p {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 31px; font-weight: 300; line-height: 37px; color: #1D1B1B;
  white-space: pre-line;
}

.testimonial-photo {
  position: absolute; top: 0; right: 0;
  width: 488px; height: 489px; object-fit: cover;
}

/* ===== CONTACT (Group 555) ===== */
.contact {
  width: 100%; max-width: 1440px; margin: 0 auto; padding-top: 80px;
}

.contact-inner {
  display: flex; min-height: 575px;
}

.contact-img {
  width: 608px; height: 575px; flex-shrink: 0; background: #F0F2F4;
}

.contact-img img { width: 608px; height: 575px; object-fit: cover; }

.contact-form {
  flex: 1; padding: 91px 0 0 122px;
}

.contact-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 44px; font-weight: 500; line-height: 53px; color: #1D1B1B;
}

.contact-sub {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; line-height: 22px; color: #1D1B1B;
  margin-top: 15px;
}

.contact-field {
  width: 285px; height: 58px; background: #F0F2F4; border: 1px solid #ABAFB5;
  padding: 18px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; font-weight: 500; line-height: 22px; color: #1D1B1B;
  margin-top: 20px;
  display: block;
}

.contact-field::placeholder {
  color: #A81C1E;
}

.contact-field-wide {
  width: 590px; height: 58px; background: #F0F2F4; border: 1px solid #ABAFB5;
  padding: 18px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; font-weight: 500; line-height: 22px; color: #1D1B1B;
  margin-top: 20px;
  display: block;
  resize: vertical;
}

.contact-btn {
  display: flex; align-items: center; justify-content: center;
  width: 285px; height: 58px; background: #0D78B7; border: none;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px; font-weight: 500; line-height: 22px; color: #FFFFFF;
  margin-top: 36px; padding: 18px 55px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background: #0a5d8f;
}

/* ===== FOOTER ===== */
.footer {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 60px 120px 40px;
}

.footer-top {
  display: flex; align-items: center;
}

.footer-logo { width: 157px; height: 38px; flex-shrink: 0; }

.footer-logo img { width: 157px; height: 38px; }

.footer-nav {
  display: flex; align-items: center; gap: 20px; margin-left: 93px; flex-wrap: wrap;
}

.footer-nav a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px; line-height: 20px; text-transform: uppercase; color: #1D1B1B;
  display: flex; align-items: center; gap: 4px;
}

.footer-nav a .arr-down { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }

.footer-nav a .arr-down svg { width: 8px; height: 4.93px; }

.footer-actions {
  display: flex; align-items: center; margin-left: auto; gap: 10px;
}

.footer-tg {
  width: 38px; height: 38px; border: 1px solid #0D78B7;
  display: flex; align-items: center; justify-content: center;
}

.footer-tg svg { width: 16px; height: 16px; }

.footer-btn {
  display: flex; align-items: center; justify-content: center;
  width: 183px; height: 38px; border: 1px solid #0D78B7; background: transparent;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px; font-weight: 500; line-height: 17px; color: #0D78B7;
  padding: 10px 15px 11px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-btn:hover {
  background: #0D78B7;
  color: #FFFFFF;
}

.footer-divider {
  width: 100%; max-width: 1200px; height: 1px; background: #F0F2F4; margin-top: 22px;
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; padding-top: 20px;
}

.footer-links {
  display: flex; gap: 16px; flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px; line-height: 17px; color: #ABAFB5;
}

.footer-copy {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px; line-height: 17px; color: #ABAFB5; white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
  .hero-inner { padding-left: 40px; }
  .container, .services-section, .catalog-section, .portfolio-section, .testimonial, .footer {
    padding-left: 40px; padding-right: 40px;
  }
  .hero-bg-img { width: 40%; }
  .hero-text-block { width: 55%; }
  .client-card { left: auto; right: 5%; }
  .epc-inner { padding-left: 40px; }
  .epc-right { padding-left: 40px; }
  .contact-form { padding-left: 40px; }
  .stats-inner { padding: 0 40px; }
}

@media (max-width: 992px) {
  .header-nav { display: none; }
  .header-right .header-email, .header-right .header-phone { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .mobile-menu-overlay { display: block; }
  .hero-bg-img { display: none; }
  .hero-text-block { width: 100%; padding-top: 100px; }
  .hero-title { font-size: 36px; line-height: 42px; width: 100%; }
  .hero-sub { font-size: 24px; line-height: 30px; width: 100%; margin-top: 40px; }
  .hero-btns { flex-direction: column; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; max-width: 285px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid, .catalog-grid2 { grid-template-columns: repeat(2, 1fr); }
  .portfolio-row { flex-direction: column; }
  .portfolio-row-right { flex-direction: column; justify-content: flex-start; }
  .portfolio-card-sm, .portfolio-card-lg, .portfolio-card-blue, .portfolio-card-sm-right { width: 100%; }
  .contact-inner { flex-direction: column; }
  .contact-img { width: 100%; }
  .contact-img img { width: 100%; }
  .contact-form { padding-left: 40px; padding-right: 40px; }
  .contact-field-wide { width: 100%; }
  .footer-nav { display: none; }
  .testimonial-photo { display: none; }
  .testimonial-quote { width: 100%; }
  .testimonial-line { width: 100%; }

  /* Client card: normal flow on mobile */
  .client-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 20px;
    width: 100%;
    max-width: 387px;
  }

  .epc-inner { flex-direction: column; }
  .epc-image { width: 100%; height: auto; }
  .epc-right { padding-left: 0; }
  .epc-step-desc { width: 100%; }
  .epc-title { width: 100%; }
  .stats-inner { flex-wrap: wrap; gap: 20px; }
  .stat-item { width: 100%; }
  .stat-divider { display: none; }
  .hero-stats-row { flex-direction: column; gap: 0; }
  .hero-stat-lg { width: 100%; }
  .hero-stat-sm { width: 100%; }
  .contact-field { width: 100%; }
}

/* ===== SUCCESS MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 48px 40px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #1D1B1B;
  margin-bottom: 12px;
}

.modal-text {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #555;
  line-height: 24px;
  margin-bottom: 28px;
}

.modal-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  background: #0D78B7;
  border: none;
  border-radius: 4px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0 20px;
  transition: background-color 0.3s ease;
}

.modal-close-btn:hover {
  background: #0a5d8f;
}

@media (max-width: 600px) {
  .services-grid, .catalog-grid, .catalog-grid2 { grid-template-columns: 1fr; }
  .section-title { font-size: 32px; line-height: 38px; }
  .hero-btns { margin-top: 40px; }
  .hero-btn-primary, .hero-btn-secondary { max-width: 100%; }
  .catalog-card { width: 100%; }
  .catalog-card-img { width: 100%; }
  .catalog-card-desc { width: 100%; }
}
