/* Dynamic Variables & Base Theme System */
:root {
  --bg-white: #FFFFFF;
  --bg-light: #F3F6F8;
  --text-dark: #122B3A;
  --text-muted: #536B79;
  --nav-blue: #1765B3;
  --nav-blue-hover: #114F8E;
  --btn-red: #CF3038;
  --btn-red-hover: #B0232B;
  --accent-green: #008C45;
  --accent-green-light: #E6F4ED;
  --border-color: #E2E8EE;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 2px 8px rgba(18, 43, 58, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 43, 58, 0.08);
  --shadow-lg: 0 12px 36px rgba(18, 43, 58, 0.12);
  
  --font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s ease-in-out;
}

/* Reset & Basic Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--btn-red);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--btn-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(207, 48, 56, 0.3);
}

.btn-secondary {
  background-color: var(--nav-blue);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--nav-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 101, 179, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--nav-blue);
  color: #FFFFFF;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
}

.btn-block {
  width: 100%;
}

/* Header Styling */
.site-header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 20px;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header-search {
  flex: 1;
  max-width: 480px;
}

.site-header .header-search .search-form {
  display: flex;
  align-items: center;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 4px 6px 4px 16px;
  transition: var(--transition);
}

.site-header .header-search .search-form:focus-within {
  border-color: var(--nav-blue);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(23, 101, 179, 0.1);
}

.site-header .header-search .search-form input[type="search"] {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-dark);
}

.site-header .header-search .search-form button[type="submit"] {
  background: var(--nav-blue);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.site-header .header-search .search-form button[type="submit"]:hover {
  background: var(--nav-blue-hover);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-dark);
}

.phone-link:hover {
  color: var(--nav-blue);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #E8F3FA;
  border-radius: 50%;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--nav-blue);
  transform: translateY(-2px);
}

.social-link:hover img {
  filter: brightness(0) invert(1);
}

.icon-tg {
  width: 20px;
  height: 20px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Navigation Bar */
.site-header .main-nav {
  background-color: var(--nav-blue);
}

.site-header .nav-container {
  display: flex;
}

.site-header .nav-list {
  display: flex;
  align-items: center;
  width: 100%;
}

.site-header .nav-item {
  position: relative;
}

.site-header .main-nav .nav-link {
  display: block;
  padding: 14px 20px;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 15px;
}

.site-header .main-nav .nav-link:hover, .site-header .nav-item.active > .nav-link {
  background-color: rgba(255, 255, 255, 0.15);
}

.site-header .arrow {
  font-size: 12px;
  margin-left: 4px;
}

/* Dropdown Menu */
.site-header .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.site-header .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 14px;
}

.site-header .dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--nav-blue);
  padding-left: 24px;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F9FC 100%);
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.flag-stripe {
  width: 6px;
  height: 12px;
  border-radius: 1px;

}

.flag-stripe.green { background-color: #008C45; }
.flag-stripe.white { background-color: #FFFFFF; border: 1px solid #CCC; }
.flag-stripe.red { background-color: #CF3038; }

.hero-content h1 {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-green);
}

.stat-text {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
}

.image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.caption-icon {
  font-size: 24px;
}

.image-caption strong {
  display: block;
  font-size: 14px;
  color: var(--text-dark);
}

.image-caption p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Section Header Commons */
.section-header {
  margin-bottom: 44px;
}

.section-header.center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-header.center {
  display: block;
}

.subtitle-tag {
  display: inline-block;
  color: var(--accent-green);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 8px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--nav-blue);
}

.service-card.highlight {
  border: 2px solid var(--accent-green);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--accent-green-light) 100%);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
}

.card-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;

}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-features li {
  font-size: 13px;
  color: var(--text-dark);
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.link-btn {
  color: var(--nav-blue);
  font-weight: 700;
  font-size: 14px;
}

.link-btn:hover {
  color: var(--nav-blue-hover);
}

/* Catalog Tiles */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.catalog-tile {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.catalog-tile.wide {
  grid-column: span 3;
}

.catalog-tile:hover {
  border-color: var(--nav-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.tile-content {
  display: flex;
  flex-direction: column;
}

.tile-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.catalog-tile h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.catalog-tile p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tile-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--nav-blue);
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--bg-light);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition);
}

.advantage-card:hover {
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.adv-number {
  font-size: 36px;
  font-weight: 700;
  color: rgba(23, 101, 179, 0.2);
  margin-bottom: 12px;
}

.advantage-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Steps Timeline */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-item {
  background: var(--bg-white);
  padding: 28px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.step-badge {
  width: 40px;
  height: 40px;
  background: var(--accent-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Portfolio Showcase */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.portfolio-img-wrapper {
  position: relative;
  height: 220px;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-wrapper {
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 20px;
  text-align: center;
}

.ph-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.portfolio-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 43, 58, 0.8);
  color: white;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
}

.portfolio-info {
  padding: 20px;
}

.portfolio-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.portfolio-details {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: var(--nav-blue);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* Lead Section Form & Contacts */
.lead-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

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

.form-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--nav-blue);
  box-shadow: 0 0 0 3px rgba(23, 101, 179, 0.1);
}

/* Custom Checkbox */
.checkbox-group {
  margin-bottom: 24px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  user-select: none;
  gap: 10px;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--nav-blue);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--accent-green);
  border-color: var(--accent-green);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.custom-checkbox .checkmark::after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.checkbox-text a {
  color: var(--nav-blue);
  text-decoration: underline;
}

/* Contacts Box */
.lead-contacts-box {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.lead-contacts-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.lead-contacts-box > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
}

.ci-icon {
  font-size: 24px;
}

.ci-link {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-dark);
}

.ci-link:hover {
  color: var(--nav-blue);
}

.ci-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.ci-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E8F3FA;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--nav-blue);
  font-weight: 600;
  font-size: 13px;
  margin-top: 6px;
}

.ci-tg-btn img {
  width: 18px;
  height: 18px;
}

.ci-tg-btn:hover {
  background: var(--nav-blue);
  color: white;
}

.ci-tg-btn:hover img {
  filter: brightness(0) invert(1);
}

/* Footer Styling */
.site-footer {
  background-color: #0C1E29;
  color: #94A6B2;
  padding-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 44px;
  margin-bottom: 16px;
}

.footer-about {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.italian-accent-bar {
  display: flex;
  height: 4px;
  width: 120px;
  border-radius: 2px;
  overflow: hidden;
}

.italian-accent-bar span {
  flex: 1;
}

.italian-accent-bar .bg-green { background-color: #008C45; }
.italian-accent-bar .bg-white { background-color: #FFFFFF; }
.italian-accent-bar .bg-red { background-color: #CF3038; }

.footer-title {
  display: block;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 13px;
  color: #94A6B2;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-item {
  margin-bottom: 14px;
}

.fc-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #617785;
}

.fc-value {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 500;
}

.footer-socials {
  margin-top: 16px;
}


.social-badge img {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding: 20px 0;
  font-size: 12px;
}

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

.footer-bottom a:hover {
  color: white;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #122B3A;
  color: white;
  padding: 16px 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  font-size: 13px;
  margin: 0;
}

.cookie-content a {
  color: #64B5F6;
  text-decoration: underline;
}

.btn-cookie {
  background-color: var(--accent-green);
  color: white;
  padding: 8px 20px;
  font-size: 13px;
}

/* Modal Popup */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 43, 58, 0.6);
  backdrop-filter: blur(4px);
}

.modal-container {
  position: relative;
  background: white;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-container h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.modal-container p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .catalog-tile.wide {
    grid-column: span 2;
  }
  
  .advantages-grid, .steps-timeline, .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lead-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .header-search {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .site-header .main-nav {
    display: none;
  }
  
  .site-header .main-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: var(--shadow-lg);
  }
  
  .site-header .nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  
  .site-header .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #0D4E91;
    display: none;
  }
  
  .site-header .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .site-header .dropdown-menu a {
    color: #FFFFFF;
  }
  
  .hero-content h1 {
    font-size: 30px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  
  .catalog-tile.wide {
    grid-column: span 1;
  }
  
  .advantages-grid, .steps-timeline, .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*start_css_for_ivrvmh*/
#ivrvmh .card-icon img {
  width: 40px;
  height: 40px;
  display: block;
}
/*end_css_for_ivrvmh*/

/*start_css_for_i2ohdj*/
#i2ohdj .card-icon img {
  width: 40px;
  height: 40px;
  display: block;
}
/*end_css_for_i2ohdj*/

/*start_css_for_ijvsah*/
#ijvsah .tile-icon {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  line-height: 1;
}

#ijvsah .tile-icon img {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}
/*end_css_for_ijvsah*/

/*start_css_for_iovsxx*/
#iovsxx .custom-checkbox {
  display: flex;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  user-select: none;
  gap: 0;
}

#iovsxx .custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

#iovsxx .custom-checkbox .checkmark {
  position: relative;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 1px;
  margin-right: 10px;
  background-color: var(--bg-light, #f8f9fa);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 3px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: var(--transition, all 0.2s ease);
}

#iovsxx .custom-checkbox:hover input ~ .checkmark {
  border-color: var(--nav-blue, #1765b3);
}

#iovsxx .custom-checkbox input:checked ~ .checkmark {
  background-color: var(--accent-green, #28a745);
  border-color: var(--accent-green, #28a745);
}

#iovsxx .custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
}

#iovsxx .custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

#iovsxx .custom-checkbox .checkbox-text {
  font-size: 12px;
  color: var(--text-muted, #6c757d);
  line-height: 1.4;
}

#iovsxx .custom-checkbox .checkbox-text a {
  color: var(--nav-blue, #1765b3);
  text-decoration: underline;
}
/*end_css_for_iovsxx*/

/*start_css_for_ih6mz*/
#ih6mz .telegram-link,
#ih6mz .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: opacity 0.2s ease;
}

#ih6mz .telegram-link:hover,
#ih6mz .social-link:hover {
  background: transparent;
  background-color: transparent;
  transform: none;
  opacity: 0.85;
  box-shadow: none;
}

#ih6mz .telegram-link:hover img,
#ih6mz .social-link:hover img {
  filter: none;
}

#ih6mz .icon-tg {
  width: 30px;
  height: 30px;
  display: block;
  filter: none;
}
/*end_css_for_ih6mz*/

/*start_css_for_iwkoj8*/
#iwkoj8 .social-badge img,
#iwkoj8 img {
  width: 30px;
  height: 30px;
  display: block;
}
/*end_css_for_iwkoj8*/

/*start_css_for_lead-form*/
#lead-form .ci-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lead-form .ci-icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}
/*end_css_for_lead-form*/

/*start_css_for_if9tgb*/
#if9tgb #ilz958 strong {
  display: block;
  margin-bottom: 6px;
}

#if9tgb .ci-tg-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#if9tgb .ci-tg-link:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

#if9tgb .ci-tg-link img {
  width: 30px;
  height: 30px;
  display: block;
}
/*end_css_for_if9tgb*/

/*start_css_for_iddm7h*/
#iddm7h .ci-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#iddm7h .ci-icon img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}
/*end_css_for_iddm7h*/

/*start_css_for_ife37*/
#ife37 .caption-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

#ife37 .caption-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/*end_css_for_ife37*/

/*start_css_for_imhgst*/
#imhgst .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

#imhgst .portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#imhgst .portfolio-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

#imhgst .portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#imhgst .portfolio-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#imhgst .portfolio-info h3 {
  min-height: 48px;
  line-height: 1.4;
  margin-bottom: 8px;
}

#imhgst .portfolio-details {
  flex-grow: 1;
  margin-bottom: 16px;
}

#imhgst .portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#imhgst .portfolio-meta-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

#imhgst .portfolio-meta-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 992px) {
  #imhgst .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  #imhgst .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #imhgst .portfolio-info h3 {
    min-height: auto;
  }
}
/*end_css_for_imhgst*/


/***Адаптивные стили****/
@media screen and (max-width: 576px) {
  #ih6mz .phone-link {
    display: none;
  }
  .hero-section {
    padding: 20px 0 40px;
  }
  .section-padding {
    padding: 30px 0;
  }
  .section-header {
    flex-direction: column;
    align-items: center;
  }
  .header-left {
    margin-bottom: 20px;
  }
  .site-footer {
    padding-top: 30px;
  }
  .open-modal-btn {
    padding: 8px 10px;
    font-size: 14px;
    border-radius: 5px;
  }
  .step-item {
    padding: 10px;
  }
  .footer-content {
    gap: 15px;
  }
}

/*start_css_for_ibxm*/
#ibxm .max-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  transition: opacity 0.2s ease;
}

#ibxm .max-link:hover {
  opacity: 0.85;
}

#ibxm .icon-max {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}
/*end_css_for_ibxm*/

/*start_css_for_ifce1e*/
#ifce1e .footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#ifce1e .social-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#ifce1e .social-badge:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

#ifce1e .social-badge img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}
/*end_css_for_ifce1e*/
