@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Montserrat",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Montserrat",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: rgba(75, 184, 254, 0.08); /* Background color for the entire website, including individual sections */
  --default-color: #0b3356; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #0b3356; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #4bb8fe; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #16537e; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #4bb8fe; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #7eccfe14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #7eccfe14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #0b3356; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #4bb8fe; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #b1e0fe;
  --default-color: #0b3356;
  --heading-color: #0b3356;
  --accent-color: #f44336;
  --surface-color: #b1e0fe;
  --contrast-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.my-color-preset {
  --background-color: rgba(207, 226, 243, 0.55);
  --default-color: #0b3356;
  --heading-color: #0b3356;
  --accent-color: #0b3356;
  --surface-color: #9fc5e8;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --heading-color: #ffffff;
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: var(--background-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

/* ==================================================
/* ================= HEADER / LOGO ================= */

/* ================================
   LOGO SWAP (FULL <-> ICON)
   Fixed: same size, no sideways jump, smooth fade
================================ */

/* ===== QUICK CONTROL (EDIT ONLY THESE) ===== */
:root{
  --logo-h-desktop: 80px;          /* высота логотипа на десктопе (и full и icon одинаково) */
  --logo-h-mobile: 56px;           /* высота логотипа на мобилке */
  --branding-h-desktop: 116px;      /* высота шапки сверху */
  --branding-h-scrolled: 92px;     /* высота шапки при скролле (должна быть >= logo-h) */
}

/* ===== DEFAULT (TOP OF PAGE) ===== */
.header{
  transition: min-height .3s ease, padding .3s ease, background-color .3s ease;
}

.header .branding{
  min-height: var(--branding-h-desktop);
  padding: 18px 0;
  display: flex;
  align-items: center;
}

/* Logo wrapper = "slot" with fixed height */
.header .logo{
  line-height: 1;
  display: flex;
  align-items: center;
  position: relative;
  height: var(--logo-h-desktop);     /* фиксируем высоту слота */
}

/* Common image rules */
.header .logo img{
  height: var(--logo-h-desktop);     /* реальный размер картинки */
  width: auto;
  display: block;
}

/* STACK BOTH IMAGES IN SAME PLACE (NO LAYOUT SHIFT) */
.header .logo .logo-full,
.header .logo .logo-icon{
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scale(1);
  transform-origin: left center;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  will-change: opacity, transform;
}

/* FULL LOGO visible by default */
.header .logo .logo-full{
  opacity: 1;
  visibility: visible;
}

/* ICON hidden by default */
.header .logo .logo-icon{
  opacity: 0;
  visibility: hidden;
}

/* ===== SCROLLED STATE ===== */
body.scrolled .header .branding{
  min-height: var(--branding-h-scrolled);  /* чтобы лого не "сжималось" */
  padding: 12px 0;                         /* можно чуть меньше, но высота должна выдерживать logo-h */
}

/* Hide full logo */
body.scrolled .header .logo .logo-full{
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(.98);
}

/* Show icon (SAME POSITION, SAME SIZE) */
body.scrolled .header .logo .logo-icon{
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* Header background/shadow on scroll */
/* ===== MAIN HEADER — match LEGAL pages ===== */
body.scrolled .header{
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.1);

  /* keep variable in sync */
  --background-color: rgba(0, 0, 0, 0.65);
}

/* ===== MOBILE ===== */
@media (max-width: 768px){
  .header .branding{
    min-height: 76px;
    padding: 14px 0;
  }

  .header .logo{
    height: var(--logo-h-mobile);
  }

  .header .logo img{
    height: var(--logo-h-mobile);
  }

  body.scrolled .header .branding{
    min-height: 76px;   /* важно: не меньше чем var(--logo-h-mobile) */
    padding: 10px 0;
  }
}

/* Остальное — без изменений */
.hero-note{
  margin-top: 10px;
  font-size: 13px;
  color: color-mix(in srgb, var(--contrast-color), transparent 35%);
  letter-spacing: 0.01em;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background: var(--background-color);
  font-size: 14px;
  padding: 80px 0 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.footer .footer-content .logo {
  line-height: 1;
  text-decoration: none;
}

.footer .footer-content .logo .logo-img {
  max-height: 38px;
  width: auto;
  display: block;
}

.footer .footer-content .logo .sitename {
  color: var(--heading-color);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--heading-font);
}

.footer .footer-content p {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 18px;
}

.footer .footer-content .footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.footer .footer-content .footer-badges .badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--default-color), transparent 93%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-weight: 600;
  font-size: 12px;
}

.footer .footer-content .footer-badges .badge-item i {
  color: var(--accent-color);
  font-size: 14px;
}

.footer h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  font-family: var(--heading-font);
}

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

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.footer .footer-links ul li:hover {
  transform: translateX(5px);
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 14px;
  transition: 0.3s;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-links ul a i {
  margin-right: 8px;
  font-size: 12px;
  color: var(--accent-color);
}

.footer .footer-contact .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
}

.footer .footer-contact .contact-item .contact-icon {
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.footer .footer-contact .contact-item .contact-icon i {
  color: var(--accent-color);
  font-size: 16px;
}

.footer .footer-contact .contact-item .contact-info p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  line-height: 1.5;
}

.footer .footer-contact .contact-item .contact-info a {
  color: inherit;
  text-decoration: none;
}

.footer .footer-contact .contact-item .contact-info a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.footer .footer-contact .footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer .footer-contact .footer-cta .btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s;
  font-size: 13px;
}

.footer .footer-contact .footer-cta .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 1px solid var(--accent-color);
}

.footer .footer-contact .footer-cta .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.footer .footer-contact .footer-cta .btn-outline {
  background: transparent;
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 60%);
}

.footer .footer-contact .footer-cta .btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.footer .social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer .social-links a {
  width: 42px;
  height: 42px;
  background-color: color-mix(in srgb, var(--default-color), transparent 92%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  text-decoration: none;
}

.footer .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.footer .social-links a i {
  font-size: 16px;
}

.footer .footer-bottom {
  margin-top: 50px;
  padding: 25px 0;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.footer .footer-bottom .copyright p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@media (max-width: 991px) {
  .footer .footer-bottom .copyright p {
    text-align: center;
    margin-bottom: 15px;
  }
}

.footer .footer-bottom .copyright .footer-disclaimer {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

@media (max-width: 991px) {
  .footer .footer-bottom .copyright .footer-disclaimer {
    text-align: center;
    margin-top: 6px;
  }
}

.footer .footer-bottom .footer-bottom-links {
  text-align: right;
}

@media (max-width: 991px) {
  .footer .footer-bottom .footer-bottom-links {
    text-align: center;
    margin-top: 8px;
  }
}

.footer .footer-bottom .footer-bottom-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 13px;
  margin-left: 20px;
  text-decoration: none;
}

.footer .footer-bottom .footer-bottom-links a:first-child {
  margin-left: 0;
}

.footer .footer-bottom .footer-bottom-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 991px) {
  .footer .footer-bottom .footer-bottom-links a {
    margin: 0 10px;
  }
}

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

  .footer .footer-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .footer .footer-content .footer-badges {
    justify-content: center;
  }

  .footer h4:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer .footer-links,
  .footer .footer-contact {
    margin-bottom: 40px;
    text-align: center;
  }

  .footer .footer-contact .contact-item {
    justify-content: center;
    text-align: left;
  }

  .footer .footer-contact .footer-cta {
    justify-content: center;
  }

  .footer .footer-contact .social-links {
    justify-content: center;
  }
}

/* Keep inputs consistent sitewide */
input[type=text],
input[type=email],
textarea {
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 14px;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
  border-color: var(--accent-color);
}

input[type=text]::placeholder,
input[type=email]::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 78px;
  overflow: clip;
  position: relative;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding-top: 120px;
  padding-bottom: 8px;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* ================= HERO CONTENT ================= */
.hero .hero-content {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2;
}

/* ================= BACKGROUND ================= */
.hero .hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero .hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-background .overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--background-color), transparent 30%);
}

/* ================= TEXT ================= */
.hero .hero-text .tagline {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-family: var(--nav-font);
}

.hero .hero-text .hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .hero .hero-text .hero-title {
    font-size: 2.5rem;
  }
}

.hero .hero-text .hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 35px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  max-width: 580px;
}

@media (max-width: 768px) {
  .hero .hero-text .hero-description {
    font-size: 16px;
  }
}

/* ================= ACTIONS (BUTTONS) ================= */
.hero .hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .hero .hero-actions {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* base button */
.hero .hero-actions .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  min-width: 180px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  line-height: 1;
  transition: all 0.25s ease;
  cursor: pointer;
  user-select: none;
}

/* primary */
.hero .hero-actions .hero-btn-primary {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero .hero-actions .hero-btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), #000 15%);
  border-color: color-mix(in srgb, var(--accent-color), #000 15%);
  transform: translateY(-2px);
}

/* outline */
.hero .hero-actions .hero-btn-outline {
  background: transparent;
  border: 2px solid color-mix(in srgb, var(--contrast-color), transparent 35%);
  color: var(--contrast-color);
  backdrop-filter: blur(2px);
}

.hero .hero-actions .hero-btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* ================= SCROLL INDICATOR ================= */
.hero .scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

@media (min-width: 1200px) {
  .hero .scroll-indicator {
    transform: translateX(-50%);
  }
}

/* === FIX: force scroll indicator to bottom of HERO section === */

/* Make HERO the positioning context */
#hero {
  position: relative;
}

/* Ensure scroll indicator is positioned from full hero height */
#hero .scroll-indicator {
  bottom: 24px;
  z-index: 5;
}

/* Prevent inner containers from stealing positioning context */
#hero .container,
#hero .container-fluid,
#hero .row {
  position: static !important;
}

/* Mobile adjustment */
@media (max-width: 768px) {
  #hero .scroll-indicator {
    bottom: 14px;
  }
}

.hero .scroll-indicator .scroll-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: color-mix(in srgb, var(--contrast-color), transparent 30%);
}

.hero .scroll-indicator .scroll-arrow {
  animation: bounce 2s infinite;
}

.hero .scroll-indicator .scroll-arrow i {
  font-size: 20px;
  color: var(--accent-color);
}

/* ================= ANIMATION ================= */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Force HERO to be positioning context */
#hero.hero {
  position: relative !important;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding-top: 93px;
  padding-bottom: 60px;
}

.about .about-content h2 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
}

.about .about-content .fst-italic {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

.about .about-content .feature-item {
  margin-bottom: 1.5rem;
  padding: 20px;
  background-color: var(--surface-color);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about .about-content .feature-item {
  position: relative;     /* чтобы z-index работал */
  z-index: 1;
  will-change: transform; /* плавнее и надёжнее */
}

.about .about-content .feature-item:hover {
  transform: translateY(-10px) !important;   /* важно: перебивает transform от AOS */
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
  z-index: 5;
}

.about .about-content .feature-item i {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-bottom: 12px;
  display: inline-block;
}

.about .about-content .feature-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.about .about-content .feature-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.about .about-content .signature .chef-name {
  font-weight: 600;
  font-style: italic;
  margin-bottom: 5px;
}

.about .about-content .signature img {
  max-width: 180px;
  height: auto;
  margin-top: 5px;
}

.about .about-gallery {
  position: relative;
}

/* ===== About gallery: fixed frames for consistent layout ===== */

.about .about-gallery .gallery-item {
  position: relative;     /* чтобы бейдж крепился к картинке */
  overflow: hidden;       /* режем только визуально, без порчи файла */
  border-radius: 14px;    /* единое скругление */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Верхние две — одинаковая высота */
.about .about-gallery .gallery-item--sm {
  height: 190px;          /* было “как получится”, теперь одинаково */
}

/* Нижняя — больше, но не огромная */
.about .about-gallery .gallery-item--lg {
  height: 340px;          /* уменьшили относительно текущего “гиганта” */
}

/* Картинка всегда заполняет рамку красиво, без растяжения */
.about .about-gallery .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

/* Лёгкий hover, аккуратно */
.about .about-gallery .gallery-item:hover img {
  transform: scale(1.02);
}

/* Бейдж — теперь позиционируется по нижней картинке */
.about .about-gallery .years-badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 2;

  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 18px;
  border-radius: 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* убираем твою прежнюю “колоночную” структуру, она тут не нужна */
  flex-direction: row;
}

/* Адаптив */
@media (max-width: 992px) {
  .about .about-gallery .gallery-item--sm { height: 170px; }
  .about .about-gallery .gallery-item--lg { height: 280px; }
}

@media (max-width: 576px) {
  .about .about-gallery .gallery-item--sm { height: 150px; }
  .about .about-gallery .gallery-item--lg { height: 240px; }
}

.about .about-gallery .years-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 2;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 25px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about .about-gallery .years-badge .number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.about .about-gallery .years-badge .text {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 992px) {
  .about .about-gallery {
    margin-top: 2rem;
  }

  .about .about-gallery .years-badge {
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
  }

  .about .about-gallery .years-badge .number {
    font-size: 2rem;
  }

  .about .about-gallery .years-badge .text {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .about .about-gallery .years-badge {
    bottom: 15px;
    right: 15px;
  }

  .about .about-content .signature img {
    max-width: 150px;
  }
}

/*--------------------------------------------------------------
# Steps 3 Section
--------------------------------------------------------------*/
.steps-3 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.steps-3 .steps-content {
  padding-right: 30px;
  margin-bottom: 40px;
}

@media (max-width: 992px) {
  .steps-3 .steps-content {
    padding-right: 0;
  }
}

.steps-3 .steps-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .steps-3 .steps-content h2 {
    font-size: 2rem;
  }
}

.steps-3 .steps-content .lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--default-color);
}

.steps-3 .steps-content p {
  margin-bottom: 2rem;
  color: var(--default-color);
}

.steps-3 .steps-content .steps-cta {
  display: flex;
  gap: 15px;
}

@media (max-width: 576px) {
  .steps-3 .steps-content .steps-cta {
    flex-direction: column;
  }
}

.steps-3 .steps-content .steps-cta .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.steps-3 .steps-content .steps-cta .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.steps-3 .steps-content .steps-cta .btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);

  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.steps-3 .steps-content .steps-cta .btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.steps-3 .steps-content .steps-cta .btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.steps-3 .steps-list {
  position: relative;
}

.steps-3 .steps-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 2px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

@media (max-width: 576px) {
  .steps-3 .steps-list::before {
    left: 20px;
  }
}

.steps-3 .steps-list .step-item {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.steps-3 .steps-list .step-item:last-child {
  margin-bottom: 0;
}

.steps-3 .steps-list .step-item:hover .step-number {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: scale(1.1);
}

.steps-3 .steps-list .step-item .step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color) 10%, white 90%);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 20px;
  z-index: 1;
  transition: all 0.3s ease;
}

@media (max-width: 576px) {
  .steps-3 .steps-list .step-item .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

.steps-3 .steps-list .step-item .step-content {
  padding-top: 5px;
}

.steps-3 .steps-list .step-item .step-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--heading-color);
}

@media (max-width: 576px) {
  .steps-3 .steps-list .step-item .step-content h3 {
    font-size: 1.1rem;
  }
}

.steps-3 .steps-list .step-item .step-content p {
  font-size: 0.95rem;
  color: var(--default-color);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services 3 Section
--------------------------------------------------------------*/
.services-3 {
  --background-color: rgba(177, 224, 254, 0.515);
  --default-color: #0b3356;
  --heading-color: #0b3356;
  --accent-color: #0b3356;
  --surface-color: #9fc5e8;
  --contrast-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 59px;
}

.services-3 .services-badge {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.services-3 .service-item {
  background-color: var(--surface-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;

  /* base — спокойная тень */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.055);
  border: 1px solid rgba(0, 0, 0, 0.05);

  /* быстрый и “дорогой” hover */
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}

  /* fast & clean hover */
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}

.services-3 .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
  z-index: 5;
}

.services-3 .service-item:hover .service-icon {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.services-3 .service-item:hover .service-link {
  color: var(--accent-color);
}

.services-3 .service-item:hover .service-link i {
  transform: translateX(5px);
}

.services-3 .service-item .service-icon {
  width: 70px;
  height: 70px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;

  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.services-3 .service-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.services-3 .service-item p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.services-3 .service-item .service-link {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.services-3 .service-item .service-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.services-3 .service-item .service-link:hover {
  color: var(--accent-color);
}

.services-3 .service-item .service-link:hover i {
  transform: translateX(5px);
}

.services-3 .services-image-container {
  position: relative;
  padding: 1rem;
}

.services-3 .services-image-container img {
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.services-3 .services-image-container .experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translate(20%, 20%);
}

.services-3 .services-image-container .experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.services-3 .services-image-container .experience-badge .text {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-3 .services-content {
  padding: 1rem 0 1rem 2rem;
}

@media (max-width: 992px) {
  .services-3 .services-content {
    padding: 2rem 0 0 0;
  }
}

.services-3 .services-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--heading-color);
}

.services-3 .services-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.services-3 .services-content .features-list {
  margin-bottom: 2rem;
}

.services-3 .services-content .features-list .feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.services-3 .services-content .features-list .feature-item i {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.services-3 .services-content .features-list .feature-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.services-3 .services-content .features-list .feature-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.services-3 .services-content .cta-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.services-3 .services-content .cta-container .btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.services-3 .services-content .cta-container .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
}

.services-3 .services-content .cta-container .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 10%);
  transform: translateY(-3px);
}

.services-3 .services-content .cta-container .btn-outline {
  background-color: transparent;
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--heading-color), transparent 70%);
}

.services-3 .services-content .cta-container .btn-outline:hover {
  background-color: color-mix(in srgb, var(--heading-color), transparent 90%);
  border-color: var(--heading-color);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .services-3 .service-item {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .services-3 .services-image-container {
    margin-bottom: 2rem;
  }

  .services-3 .services-image-container .experience-badge {
    padding: 1rem;
    transform: translate(10%, 10%);
  }

  .services-3 .services-image-container .experience-badge .years {
    font-size: 2rem;
  }

  .services-3 .services-image-container .experience-badge .text {
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
# Products List 2 Section
--------------------------------------------------------------*/
.products-list-2 {
  padding-top: 60px;
  padding-bottom: 60px;
  /* Filters in framed strip (same "card color" feel) */
  /* Isotope container */
  /* Card: same height everywhere */
  /* Image: fixed height */
  /* Info */
  /* Clamp to keep equal card heights */
  /* Bottom strip (like your screenshot) */
  /* Responsive */
}

.products-list-2 .product-filters ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 10px;
  background-color: var(--surface-color);
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.products-list-2 .product-filters ul li {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--default-color);
  cursor: pointer;
  border-radius: 999px;
  background: transparent;
  transition: all 0.25s ease;
}

.products-list-2 .product-filters ul li:hover {
  color: var(--accent-color);
  transform: translateY(-1px);
}

.products-list-2 .product-filters ul li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.products-list-2 .product-container {
  position: relative;
  min-height: 320px;
}

.products-list-2 .product-item {
  margin-bottom: 24px;
}

.products-list-2 .product-card {
  height: 100%;
  background-color: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.products-list-2 .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.products-list-2 .product-image {
  height: 210px;
  overflow: hidden;
}

.products-list-2 .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.products-list-2 .product-image:hover img {
  transform: scale(1.06);
}

.products-list-2 .product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.products-list-2 .product-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
}

.products-list-2 .product-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.65);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 4.65em;
}

.products-list-2 .products-actions {
  margin-top: 3rem;
  padding: 24px;
  background-color: var(--surface-color);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.products-list-2 .products-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.65);
}

.products-list-2 .products-notice i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.products-list-2 .products-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background-color: var(--heading-color);
  color: var(--contrast-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.products-list-2 .products-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

@media (max-width: 768px) {
  .products-list-2 .product-filters ul {
    background-color: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .products-list-2 .product-filters ul li {
    background-color: var(--surface-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .products-list-2 .product-image {
    height: 190px;
  }

  .products-list-2 .products-actions {
    text-align: center;
  }

  .products-list-2 .products-actions .row>div {
    margin-bottom: 12px;
  }
}
/* ===== Products List 2: image frame (uniform cards) ===== */
.products-list-2 .product-image{
  height: 160px;            /* можешь сделать 180-200 если хочешь меньше обрезки */
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.products-list-2 .product-image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
  padding-top: 60px;
  padding-bottom: 90px;
}

.features .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* vertical rhythm first, horizontal second */
  gap: 70px 48px;
}

.features .feature-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: all 0.4s ease;
}

.features .feature-card .feature-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  /* a bit more space between header and text */
  margin-bottom: 26px;
}

.features .feature-card .feature-header .feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  transition: all 0.3s ease;
}

.features .feature-card .feature-header .feature-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.features .feature-card .feature-header h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--heading-color);
  line-height: 1.3;
  margin: 0;
}

.features .feature-card p {
  font-size: 16px;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
  letter-spacing: 0.01em;
  max-width: 46ch;
}

.features .feature-card:hover .feature-icon {
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

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

  .features .features-grid {
    grid-template-columns: 1fr;
    gap: 52px 0;
  }

  .features .feature-card .feature-header {
    gap: 16px;
    margin-bottom: 22px;
  }

  .features .feature-card .feature-header h3 {
    font-size: 18px;
  }

  .features .feature-card p {
    font-size: 15px;
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  --background-color: rgba(177, 224, 254, 0.515);
  --default-color: #0b3356;
  --heading-color: #0b3356;
  --accent-color: #0b3356;
  --surface-color: #9fc5e8;
  /* Stronger vertical spacing for section rhythm */
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .stats {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.stats .stats-overview {
  height: 100%;
  padding: 30px;
}

.stats .stats-overview h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.stats .stats-overview h3::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .stats .stats-overview h3::after {
    margin: 0;
  }
}

.stats .stats-overview p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.7;
  margin-bottom: 12px;
}

.stats .stats-overview p:last-child {
  margin-bottom: 0;
}

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

.stats .stats-card {
  background: var(--surface-color);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;

  position: relative;
  z-index: 1;
  will-change: transform;

  /* base — чуть легче, чтобы hover сильнее читался */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.045);
  border: 1px solid rgba(0, 0, 0, 0.05);

  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.stats .stats-card:hover {
  transform: translateY(-10px);
  /* hover — заметно сильнее, чтобы было “как About” */
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.16);
  z-index: 5;
}

.stats .stats-card .stats-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.stats .stats-card .stats-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.stats .stats-card .stats-content {
  flex-grow: 1;
}

.stats .stats-card .stats-content p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  font-weight: 500;
  font-family: var(--heading-font);
  line-height: 1.5;
}

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

  .stats .stats-card {
    padding: 15px;
  }

  .stats .stats-card .stats-icon {
    width: 50px;
    height: 50px;
  }

  .stats .stats-card .stats-icon i {
    font-size: 20px;
  }
}

/* ================================
   SCROLL OFFSET FOR FIXED HEADER
   ================================ */
#markets {
  scroll-margin-top: 120px;
}

#stats {
  scroll-margin-top: 120px;
}

/*--------------------------------------------------------------
# Partners Section
--------------------------------------------------------------*/
.partners .swiper {
  padding: 10px 0;
}

.partners .swiper-wrapper {
  height: auto;
}

.partners .swiper-slide img {
  transition: 0.3s;
}

.partners .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Faq 3 Section
--------------------------------------------------------------*/
.faq-3 {
  padding-top: 70px;
  padding-bottom: 60px;
}

.faq-3 .faq-container .faq-item {
  position: relative;
  padding: 20px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  overflow: hidden;
}

.faq-3 .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq-3 .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq-3 .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq-3 .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq-3 .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq-3 .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq-3 .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq-3 .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq-3 .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq-3 .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  --background-color: rgba(177, 224, 254, 0.515);
  --default-color: #0b3356;
  --heading-color: #0b3356;
  --accent-color: #0b3356;
  padding-top: 70px;
  padding-bottom: 60px;
}

.contact .contact-info-box {
  background-color: var(--surface-color);
  border-radius: 10px;
  padding: 25px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 15px;

  position: relative;
  z-index: 1;
  will-change: transform;

  /* base — чуть легче, чтобы hover читался сильнее */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.045);

  /* fast & clean hover */
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact .contact-info-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.16);
  z-index: 5;
}

.contact .contact-info-box .icon-box {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact .contact-info-box .icon-box i {
  font-size: 24px;
}

.contact .contact-info-box .info-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .contact-info-box .info-content p {
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.5;
}

.contact .contact-info-box .info-content p:last-child {
  margin-bottom: 0;
}

.contact .map-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.contact .map-section iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact .form-container-overlap {
  position: relative;
  margin-top: -150px;
  margin-bottom: 60px;
  z-index: 10;
}

.contact .contact-form-wrapper {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.contact .contact-form-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
}

.contact .contact-form-wrapper h2:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.contact .contact-form-wrapper .form-group {
  margin-bottom: 18px;
}

.contact .contact-form-wrapper .form-group .input-with-icon {
  position: relative;
}

.contact .contact-form-wrapper .form-group .input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 18px;
  z-index: 10;
}

.contact .contact-form-wrapper .form-group .input-with-icon i.message-icon {
  top: 28px;
}

.contact .contact-form-wrapper .form-group .input-with-icon .form-control {
  border-radius: 8px;
  padding: 12px 15px 12px 45px;
  height: 3.5rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  font-size: 15px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .contact-form-wrapper .form-group .input-with-icon .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .contact-form-wrapper .form-group .input-with-icon .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.contact .contact-form-wrapper .form-group .input-with-icon textarea.form-control {
  height: 180px;
  resize: none;
  padding-top: 15px;
}

.contact .contact-form-wrapper .form-hint {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  padding-left: 6px;
}

.contact .contact-form-wrapper .b2b-confirm {
  margin-top: 5px;
  padding: 14px 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
}

.contact .contact-form-wrapper .b2b-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.contact .contact-form-wrapper .b2b-check input[type=checkbox] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
  flex-shrink: 0;
}

.contact .contact-form-wrapper .b2b-check span {
  font-size: 13px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.contact .contact-form-wrapper .btn-submit {
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact .contact-form-wrapper .btn-submit:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.contact .contact-form-wrapper .btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact .contact-form-wrapper .loading,
.contact .contact-form-wrapper .error-message,
.contact .contact-form-wrapper .sent-message {
  margin-top: 10px;
  margin-bottom: 20px;
}

@media (max-width: 992px) {
  .contact .form-container-overlap {
    margin-top: -120px;
  }

  .contact .contact-form-wrapper {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .contact .contact-info-box {
    margin-bottom: 20px;
  }

  .contact .form-container-overlap {
    margin-top: -100px;
  }

  .contact .contact-form-wrapper {
    padding: 25px;
  }

  .contact .contact-form-wrapper h2 {
    font-size: 24px;
  }

  .contact .map-section {
    height: 450px;
  }
}

@media (max-width: 576px) {
  .contact .form-container-overlap {
    margin-top: -80px;
  }

  .contact .contact-form-wrapper {
    padding: 20px;
  }

  .contact .btn-submit {
    width: 100%;
  }

  .contact .map-section {
    height: 400px;
  }
}

/* ===============================
   FIX: Autofill & Focus colors
   =============================== */
.contact {
  /* Focus state */
  /* Chrome autofill override */
}

.contact input.form-control,
.contact select.form-control,
.contact textarea.form-control {
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact input.form-control:focus,
.contact select.form-control:focus,
.contact textarea.form-control:focus {
  background-color: color-mix(in srgb, var(--surface-color), white 8%);
}

.contact input.form-control:-webkit-autofill,
.contact textarea.form-control:-webkit-autofill,
.contact select.form-control:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px color-mix(in srgb, var(--surface-color), white 8%) inset !important;
  -webkit-text-fill-color: var(--default-color) !important;
  caret-color: var(--default-color);
  transition: background-color 9999s ease-in-out 0s;
}

/* ================= TRUST STRIP ================= */
.contact .trust-strip {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

/* Trust item */
.contact .trust-strip .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-color), transparent 55%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 0;
  transform: translateY(6px);
  animation: trustFadeIn 700ms ease forwards;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.contact .trust-strip .trust-item i {
  font-size: 14px;
  color: color-mix(in srgb, var(--accent-color), transparent 10%);
}

/* Hover — очень мягко */
.contact .trust-strip .trust-item:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

/* Separator dot */
.contact .trust-strip .trust-dot {
  opacity: 0;
  transform: translateY(6px);
  animation: trustFadeIn 700ms ease forwards;
  color: color-mix(in srgb, var(--default-color), transparent 55%);
}

/* Stagger animation */
.contact .trust-strip .trust-item:nth-of-type(1) {
  animation-delay: 0ms;
}

.contact .trust-strip .trust-dot:nth-of-type(2) {
  animation-delay: 80ms;
}

.contact .trust-strip .trust-item:nth-of-type(3) {
  animation-delay: 160ms;
}

.contact .trust-strip .trust-dot:nth-of-type(4) {
  animation-delay: 240ms;
}

.contact .trust-strip .trust-item:nth-of-type(5) {
  animation-delay: 320ms;
}

.contact .trust-strip .trust-dot:nth-of-type(6) {
  animation-delay: 400ms;
}

.contact .trust-strip .trust-item:nth-of-type(7) {
  animation-delay: 480ms;
}

/* Animation keyframes */
@keyframes trustFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {

  .contact .trust-strip .trust-item,
  .contact .trust-strip .trust-dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .contact .trust-strip .trust-item {
    transition: none !important;
  }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
  font-size: 1rem;
  line-height: 1.7;
}

.privacy .privacy-header {
  margin-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 40px;
}

.privacy .privacy-header .header-content .last-updated {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 20px;
}

.privacy .privacy-header .header-content h1 {
  font-size: 2.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-header .header-content .intro-text {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.privacy .privacy-content .content-section {
  margin-bottom: 50px;
}

.privacy .privacy-content .content-section:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.privacy .privacy-content .content-section h3 {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin: 30px 0 20px;
  font-weight: 500;
}

.privacy .privacy-content .content-section p {
  margin-bottom: 20px;
}

.privacy .privacy-content .content-section p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.privacy .privacy-content .content-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.privacy .privacy-content .content-section ul li:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.privacy .privacy-contact {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-contact h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-contact p {
  margin-bottom: 20px;
}

.privacy .privacy-contact .contact-details {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
}

.privacy .privacy-contact .contact-details p {
  margin-bottom: 10px;
}

.privacy .privacy-contact .contact-details p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-contact .contact-details p strong {
  color: var(--heading-color);
  font-weight: 600;
}

@media print {
  .privacy {
    font-size: 12pt;
    line-height: 1.5;
  }

  .privacy .privacy-header {
    text-align: left;
    border-bottom: 1pt solid #000;
    padding-bottom: 20pt;
    margin-bottom: 30pt;
  }

  .privacy h1 {
    font-size: 24pt;
  }

  .privacy h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }

  .privacy h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  .privacy p,
  .privacy ul {
    page-break-inside: avoid;
  }

  .privacy .contact-details {
    border: 1pt solid #000;
    padding: 15pt;
  }
}

@media (max-width: 767px) {
  .privacy .privacy-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .privacy .privacy-header .header-content h1 {
    font-size: 2.2rem;
  }

  .privacy .privacy-header .header-content .intro-text {
    font-size: 1.1rem;
  }

  .privacy .privacy-content .content-section {
    margin-bottom: 40px;
  }

  .privacy .privacy-content .content-section h2 {
    font-size: 1.6rem;
  }

  .privacy .privacy-content .content-section h3 {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 97%) 100%);
}

.error-404 .error-number {
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 300;
  color: color-mix(in srgb, var(--heading-color), transparent 15%);
  line-height: 0.8;
  margin-bottom: 40px;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.error-404 .error-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.error-404 .error-description {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-404 .error-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 80px;
}

@media (min-width: 576px) {
  .error-404 .error-actions {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.error-404 .error-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.error-404 .error-actions .btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.error-404 .error-actions .btn-primary i {
  font-size: 18px;
}

.error-404 .error-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--heading-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.error-404 .error-actions .btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.error-404 .error-actions .btn-secondary i {
  font-size: 18px;
}

.error-404 .helpful-links {
  text-align: center;
}

.error-404 .helpful-links h3 {
  font-size: 24px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 40px;
}

.error-404 .helpful-links .links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.error-404 .helpful-links .link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background-color: var(--surface-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--default-color);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.error-404 .helpful-links .link-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.error-404 .helpful-links .link-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item span {
  font-size: 16px;
  font-weight: 400;
}

.error-404 .helpful-links .link-item:hover i {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 80px 0;
  }

  .error-404 .error-actions {
    margin-bottom: 60px;
  }

  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   HERO BUTTONS — FINAL (colors locked)
   Base: #4bb8fe | Hover: #1e9de1
   ================================================== */

.hero .hero-actions a.btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
  will-change: transform;
}

.hero .hero-actions a.btn:hover,
.hero .hero-actions a.btn:focus,
.hero .hero-actions a.btn:active {
  transform: translate3d(0, -2px, 0) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22) !important;
}

/* PRIMARY (Request a Quote) */
.hero .hero-actions a.btn.btn-primary {
  background-color: #4bb8fe !important;
  border-color: #4bb8fe !important;
  color: #ffffff !important;
}

.hero .hero-actions a.btn.btn-primary:hover,
.hero .hero-actions a.btn.btn-primary:focus,
.hero .hero-actions a.btn.btn-primary:active {
  background-color: #1e9de1 !important;
  border-color: #1e9de1 !important;
  color: #ffffff !important;
}

/* OUTLINE PRIMARY (Request Portfolio PDF) */
.hero .hero-actions a.btn.btn-outline-primary {
  background-color: transparent !important;
  border: 2px solid #4bb8fe !important;
  color: #4bb8fe !important;
}

.hero .hero-actions a.btn.btn-outline-primary:hover,
.hero .hero-actions a.btn.btn-outline-primary:focus,
.hero .hero-actions a.btn.btn-outline-primary:active {
  background-color: #1e9de1 !important;
  border-color: #1e9de1 !important;
  color: #ffffff !important;
}
/* ================= FOOTER LOGO ================= */

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

.footer-logo-img {
  max-height: 80px;   /* можно 64 / 72 / 80 — смотри визуально */
  width: auto;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-logo-img {
    max-height: 56px;
  }
}
/* ===== Services cards hover (match About) ===== */
.services-3 .service-item{
  position: relative;
  z-index: 1;
  will-change: transform;
  transition: transform 0.18s ease, box-shadow 0.18s ease !important;
}

.services-3 .service-item:hover{
  transform: translateY(-10px) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
  z-index: 5;
}
.stats .stats-card:hover{
  transform: translateY(-10px) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12) !important;
}
/* ==================================================
   PRODUCTS LIST 2 — CARD IMAGES + HOVER (clean)
   ================================================== */

/* Card hover like About (no color changes) */
.products-list-2 .product-card {
  position: relative;
  z-index: 1;
  will-change: transform;

  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.products-list-2 .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.16);
  z-index: 5;
}

/* Fixed image frame so all photos look uniform */
.products-list-2 .product-image {
  height: 190px;            /* desktop frame height */
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.products-list-2 .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  transition: transform 0.18s ease;
}

/* subtle zoom on hover (optional but premium) */
.products-list-2 .product-card:hover .product-image img {
  transform: scale(1.03);
}

/* Mobile */
@media (max-width: 768px) {
  .products-list-2 .product-image {
    height: 160px;
  }
}

/* Partners: same background as Markets (Stats) */
#partners {
  background-color: rgba(177, 224, 254, 0.515) !important;
}

#partners .container {
  background: transparent !important;
}

/* =========================================================
   FOOTER BOTTOM — FINAL (Global Solutions)
   Left: 2 text groups | Right: legal links on one line
   ========================================================= */

.footer-bottom{
  width: 100%;
  display: block;
  padding: 18px 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), rgba(0,0,0,0.15));
}

.footer-bottom .row{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.footer-bottom-left,
.footer-bottom-right{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-bottom-left{
  justify-content: flex-start;
  text-align: left;
}

.footer-bottom-right{
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
}

.footer-bottom-left .copyright{
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Group 1 */
.footer-main{
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.footer-legal{
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

/* Gap between groups */
.footer-gap{ height: 10px; }

/* Group 2 */
.footer-compliance{
  color: rgba(255,255,255,0.60);
  font-size: 12.5px;
  line-height: 1.45;
  margin: 0;
}

.footer-disclaimer{
  color: rgba(255,255,255,0.50);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

/* Remove any accidental margins */
.footer-compliance,
.footer-disclaimer{
  margin: 0 !important;
}

/* ===== Bottom legal links (separate class!) ===== */
.footer-legal-links{
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.footer-legal-links a{
  font-size: 12.5px;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-legal-links a:hover{
  color: rgba(255,255,255,0.88);
  text-decoration: underline;
}

/* ===== Mobile ===== */
@media (max-width: 768px){
  .footer-bottom-left,
  .footer-bottom-right{
    text-align: center;
    align-items: center;
  }

  .footer-bottom-right{
    justify-content: center;
    margin-top: 12px;
  }

  .footer-legal-links{
    justify-content: center;
  }
}

/* Disable scroll-top button (chat occupies the bottom-right area) */
#scroll-top{ display:none !important; }

/* =========================
   Contact form validation (show ONLY after submit)
   ========================= */

/* Optional: remove default focus outline (your design uses custom focus) */
#contact form :focus {
  outline: none;
}

/* Nothing is red before submit */
#contact form:not(.was-validated) .form-control:invalid,
#contact form:not(.was-validated) .form-control:invalid:focus {
  border-color: inherit !important;
  box-shadow: none !important;
}

/* Show red ONLY after submit */
#contact form.was-validated .form-control:invalid {
  border: 1px solid rgba(220, 53, 69, 0.55) !important;  /* lighter */
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.12) !important; /* softer */
}

/* Slightly stronger when user focuses invalid field */
#contact form.was-validated .form-control:invalid:focus {
  border-color: rgba(220, 53, 69, 0.75) !important;
}

/* If your inputs are inside .input-with-icon and it has a border too,
   keep wrapper consistent (but without :has() to avoid browser issues) */
#contact form.was-validated .input-with-icon {
  border-color: transparent; /* default */
  box-shadow: none;
}
/* =========================
   Checkbox validation (B2B confirm) — SINGLE outer highlight
   ========================= */

/* ничего не подсвечиваем до submit */
#contact form:not(.was-validated) .b2b-confirm {
  border-color: transparent;
  box-shadow: none;
  background: transparent;
}

/* подсветка только контейнера, когда JS повесит .is-invalid */
#contact form.was-validated .b2b-confirm.is-invalid {
  border: 1px solid rgba(220, 53, 69, 0.45);
  background-color: rgba(220, 53, 69, 0.04);
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.10);
  border-radius: 8px;
  padding: 10px 12px;
}

/* убираем любые "внутренние" обводки у самого checkbox */
#contact form.was-validated .b2b-confirm.is-invalid input[type="checkbox"] {
  outline: none !important;
  box-shadow: none !important;
}

/* слегка выделяем текст (без рамок!) */
#contact form.was-validated .b2b-confirm.is-invalid span {
  color: rgba(176, 42, 55, 0.95);
}
/* =========================
   Form success animation (B2B minimal)
   ========================= */

#contact .form-status-success {
  margin-top: 18px;      /* ↑ больше воздуха сверху */
  margin-bottom: 6px;    /* ↓ немного отделяем от trust-strip */
  display: inline-block;
  text-align: center;
  padding: 18px 22px;    /* ↑ комфортнее внутри */
  border-radius: 12px;
  background-color: #0b3356;
  color: #ffffff;
  line-height: 1.45;
  font-weight: 500;
}

  /* animation start state */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* visible state */
#contact .form-status-success.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* title row */
#contact .form-status-success strong{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: #ffffff;
  font-weight: 700;
}

/* small check icon */
#contact .form-status-success .success-check{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
}

/* optional: soften any accidental bullet/marker (на всякий случай) */
#contact .form-status-success::marker{ content: ""; }
#contact .form-status-success *{ list-style: none; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  #contact .form-status-success{
    transition: none;
    transform: none;
  }
}

/* =========================
   Unified field styling (inputs + selects + textarea)
   One base look + one filled look
   (DOES NOT TOUCH your submit validation logic)
   ========================= */

/* 1) Base look for ALL fields (same as form background) */
#contact .input-with-icon{
  background: #9fc5e8 !important; /* base = form fill */
  border: 1px solid rgba(11, 51, 86, 0.18) !important; /* мягкая рамка */
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

/* Make actual controls transparent so wrapper always controls the look */
#contact .input-with-icon .form-control{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: rgba(11, 51, 86, 0.65) !important; /* одинаковый цвет текста в пустом состоянии */
}

/* Placeholder — same color as empty text (so everything looks uniform) */
#contact .input-with-icon .form-control::placeholder{
  color: rgba(11, 51, 86, 0.65) !important;
  opacity: 1 !important;
}

/* Icons: same tone in default/empty state */
#contact .input-with-icon i{
  opacity: .65;
}

/* 2) Hover / Focus — show shadow while interacting */
#contact .input-with-icon:hover,
#contact .input-with-icon:focus-within{
  border-color: rgba(11, 51, 86, 0.18) !important;
  box-shadow: 0 0 0 3px rgba(11, 51, 86, 0.18) !important;
}

/* 3) Filled state — lighter background after user entered/selected
   Shadow must NOT stay after user filled and left the field
*/
#contact .input-with-icon:has(input.form-control:not(:placeholder-shown)),
#contact .input-with-icon:has(textarea.form-control:not(:placeholder-shown)),
#contact .input-with-icon:has(select.form-control:required:valid){
  background: rgba(177, 224, 254, 0.515) !important; /* light after fill */
  border-color: rgba(11, 51, 86, 0.18) !important;
  box-shadow: none !important;
}

/* =========================
   B2B checkbox — filled state
   Same behavior as other fields
   ========================= */

#contact .b2b-confirm:has(input[type="checkbox"]:checked){
  background: rgba(177, 224, 254, 0.515) !important;
  border-color: rgba(11, 51, 86, 0.18) !important;
  box-shadow: none !important;
}

/* Optional: text slightly stronger when checked */
#contact .b2b-confirm:has(input[type="checkbox"]:checked) label{
  color: rgba(11, 51, 86, 0.95) !important;
}

/* Filled text a bit stronger (only after fill) */
#contact .input-with-icon:has(input.form-control:not(:placeholder-shown)) .form-control,
#contact .input-with-icon:has(textarea.form-control:not(:placeholder-shown)) .form-control,
#contact .input-with-icon:has(select.form-control:required:valid) .form-control{
  color: rgba(11, 51, 86, 0.95) !important;
}

/* Filled icon a bit stronger */
#contact .input-with-icon:has(input.form-control:not(:placeholder-shown)) i,
#contact .input-with-icon:has(textarea.form-control:not(:placeholder-shown)) i,
#contact .input-with-icon:has(select.form-control:required:valid) i{
  opacity: .85;
}

/* =========================
   Select placeholder vs filled state (uniform)
   ========================= */

/* IMPORTANT:
   Empty select should look same as other empty fields (same text tone)
*/
#contact select.form-control:required:invalid{
  color: rgba(11, 51, 86, 0.65) !important;
}

/* =========================
   Keep your validation logic: red ONLY after submit
   (DON'T TOUCH)
   ========================= */
#contact form.was-validated .input-with-icon:has(.form-control:invalid){
  border-color: rgba(220, 53, 69, 0.75) !important;
}
/* JS-assisted filled state for OPTIONAL selects (e.g., Trade Terms) */
#contact .input-with-icon.is-filled {
  background: rgba(177, 224, 254, 0.515) !important;
  border-color: rgba(30, 157, 225, 0.55) !important;
}

/* Optional: make icon a bit stronger when filled */
#contact .input-with-icon.is-filled i {
  opacity: 0.85;
}

/* Scroll offset for direct CTA jump to form */
#submit-inquiry{
  scroll-margin-top: 200px; /* при необходимости 100–140 */
}
/* ================================
   LEGAL PAGES HEADER FIX
   ================================ */

body.legal-page #header {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
}

/* FULL logo visible before scroll */
body.legal-page:not(.scrolled) .logo-full {
  opacity: 1;
  visibility: visible;
}

body.legal-page:not(.scrolled) .logo-icon {
  opacity: 0;
  visibility: hidden;
}

/* Switch to icon AFTER scroll (same as main page) */
body.legal-page.scrolled .logo-full {
  opacity: 0;
  visibility: hidden;
}

body.legal-page.scrolled .logo-icon {
  opacity: 1;
  visibility: visible;
}

/* === Legal pages: Back to Home button = Start an Inquiry CTA === */
body.legal-page .mt-4 .btn.btn-primary {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;

  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

body.legal-page .mt-4 .btn.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);

  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

/* Global font lock */
html, body {
  font-family: "Montserrat", sans-serif !important;
}

*:not(.bi):not(.fa):not(.fas):not(.far):not(.fab) {
  font-family: "Montserrat", sans-serif !important;
}
