/* Custom Color Scheme for Federation-Cold */
/* Unique beautiful color palette for refrigeration company */

:root {
  /* Primary Colors - Ice Blue Gradient */
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --primary-gradient: linear-gradient(
    135deg,
    #0ea5e9 0%,
    #06b6d4 50%,
    #14b8a6 100%
  );

  /* Secondary Colors - Frost Cyan */
  --secondary: #06b6d4;
  --secondary-dark: #0891b2;
  --secondary-light: #22d3ee;

  /* Accent Colors - Ice White */
  --accent: #e0f2fe;
  --accent-dark: #bae6fd;

  /* Text Colors */
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f0f9ff;
  --bg-dark: #0c4a6e;
  --bg-darker: #082f49;

  /* UI Colors */
  --border: #e2e8f0;
  --shadow: rgba(14, 165, 233, 0.15);
  --shadow-lg: rgba(14, 165, 233, 0.25);
}

/* Bootstrap CSS-variable overrides — align Bootstrap utilities with our palette */
:root {
  --bs-primary: #0ea5e9;
  --bs-primary-rgb: 14, 165, 233;
  --bs-light: #f0f9ff;
  --bs-light-rgb: 240, 249, 255;
  --bs-link-color: #0284c7;
  --bs-link-hover-color: #0ea5e9;
  --bs-border-color: #e2e8f0;
  --bs-border-radius: 0.75rem;
  --bs-border-radius-lg: 1.125rem;
  --bs-border-radius-xl: 1.5rem;
}

/* Override Bootstrap Primary Colors */
.btn-primary {
  background: var(--primary-gradient);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-lg);
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 50%, #0d9488 100%);
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  padding: 10px 28px;
  transition: all 0.3s ease;
}

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

/* Modern Header Styling */
.header-container {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 50%, #2563eb 100%);
  box-shadow: 0 4px 30px rgba(30, 64, 175, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

.logo-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-icon {
  font-size: 2.5rem;
  color: #60a5fa;
  margin-right: 12px;
  filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.5));
}

.logo-text {
  font-family: "Saira", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.logo-text span {
  color: #fbbf24;
}

.logo-subtext {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-left: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-subtext i {
  color: #fbbf24;
  margin-right: 4px;
}

.nav-section {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  justify-content: center;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link-custom {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.nav-link-custom::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fbbf24;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-custom:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link-custom:hover::before {
  width: 80%;
}

.nav-link-custom.active {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
}

.nav-link-custom.active::before {
  width: 80%;
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.header-phone {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
}

.header-phone i {
  margin-right: 8px;
  color: #fbbf24;
}

.btn-header-cta {
  padding: 10px 20px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
  font-weight: 600;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
  color: #0f172a;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  flex-direction: column;
  gap: 10px;
}

.mobile-nav.show {
  display: flex;
}

.mobile-nav .nav-link-custom {
  padding: 15px;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 1400px) {
  .nav-link-custom {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}

@media (max-width: 1200px) {
  .logo-text {
    font-size: 1.5rem;
  }

  .logo-icon {
    font-size: 2rem;
  }

  .logo-subtext {
    font-size: 0.75rem;
    margin-left: 40px;
  }

  .nav-link-custom {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .header-phone {
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .nav-section {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-actions {
    display: none;
  }

  .mobile-nav.show .nav-section {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .mobile-nav.show .nav-menu {
    flex-direction: column;
    width: 100%;
  }

  .mobile-nav.show .header-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    align-items: center;
  }

  .logo-subtext {
    margin-left: 0;
    margin-top: 5px;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.3rem;
  }

  .logo-icon {
    font-size: 1.8rem;
  }

  .logo-subtext {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.1rem;
  }

  .logo-icon {
    font-size: 1.5rem;
  }
}

/* Hide old navbar styles */
.topbar,
.navbar {
  display: none !important;
}

/* Contact Section Styling with Animations */
.contact-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37, 99, 235, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.contact-card:hover::before {
  left: 100%;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
  border-color: #2563eb;
}

.contact-icon-wrapper {
  display: flex;
  justify-content: center;
}

.contact-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotateY(360deg);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.contact-link {
  text-decoration: none;
  color: #334155;
  transition: all 0.3s ease;
  display: block;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.contact-link:hover {
  color: #2563eb;
  border-bottom-color: #2563eb;
  transform: translateX(5px);
}

.contact-form {
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 20px 60px rgba(30, 64, 175, 0.15);
}

.contact-form input,
.contact-form textarea {
  transition: all 0.3s ease;
  background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: scale(1.01);
}

.contact-form .btn {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form .btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
}

.contact-form .btn:hover::before {
  width: 300px;
  height: 300px;
}

.contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.contact-map {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact-map:hover {
  box-shadow: 0 20px 60px rgba(30, 64, 175, 0.2);
  transform: scale(1.02);
}

.contact-map iframe {
  transition: all 0.3s ease;
}

.contact-map:hover iframe {
  filter: brightness(1.05);
}

/* Footer Section */
.footer-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  position: relative;
}

.footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #2563eb 100%);
}

.footer-link {
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  padding-left: 5px;
  color: #3b82f6 !important;
}

.hightech-link a {
  transition: all 0.3s ease;
}

.hightech-link a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.testimonial-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
}

.testimonial-item img {
  transition: all 0.3s ease;
}

.testimonial-item:hover img {
  transform: scale(1.05);
}

.testimonial-item h5 {
  transition: all 0.3s ease;
}

.testimonial-item:hover h5 {
  color: #2563eb;
}

/* Blog Section */
.blog-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.blog-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
}

.blog-image {
  overflow: hidden;
}

.blog-image img {
  transition: all 0.4s ease;
}

.blog-item:hover .blog-image img {
  transform: scale(1.05);
}

.blog-item h5 {
  transition: all 0.3s ease;
}

.blog-item:hover h5 {
  color: #2563eb;
}

.blog-item .btn {
  transition: all 0.3s ease;
}

.blog-item .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.about-images {
  position: relative;
}

.about-image-main {
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.about-image-secondary {
  top: 15%;
  left: 10%;
  z-index: 2;
  max-width: 70%;
  transition: all 0.4s ease;
}

.about-section:hover .about-image-secondary {
  transform: translate(10px, -10px);
}

.experience-badge {
  bottom: 5%;
  right: 0;
  z-index: 3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.about-image-main img,
.about-image-secondary img {
  transition: all 0.4s ease;
}

.about-section:hover .about-image-main img {
  transform: scale(1.02);
}

/* Services Section */
.services-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.services-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
}

.services-icon-wrapper {
  transition: all 0.4s ease;
}

.services-item:hover .services-icon-wrapper {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.services-item:hover .services-icon-wrapper i {
  color: white;
  transform: scale(1.1);
}

.services-icon-wrapper i {
  transition: all 0.4s ease;
}

.services-item h4 {
  transition: all 0.3s ease;
}

.services-item:hover h4 {
  color: #1e40af;
}

.services-item .btn {
  transition: all 0.3s ease;
}

.services-item .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

/* Fact Section */
.fact-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.fact-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.03) 0%,
    transparent 50%
  );
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.fact-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.fact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
}

.fact-icon {
  width: 70px;
  height: 70px;
  transition: all 0.4s ease;
}

.fact-card:hover .fact-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.fact-card:hover .fact-icon i {
  color: white;
}

.counter-value {
  transition: all 0.3s ease;
}

.fact-card:hover .counter-value {
  transform: scale(1.1);
  color: #1e40af;
}

/* Hero Section */
.hero-section {
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

/* Hero Carousel Styling */
#carouselId {
  min-height: 100vh;
  max-height: 100vh;
}

#carouselId .carousel-item {
  min-height: 100vh;
  max-height: 100vh;
  position: relative;
}

#carouselId .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 100vh;
  max-height: 100vh;
}

#carouselId .carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.7) 0%,
    rgba(30, 64, 175, 0.5) 100%
  );
}

#carouselId .carousel-caption {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

@media (max-width: 992px) {
  #carouselId {
    min-height: 100vh;
    max-height: 100vh;
  }

  #carouselId .carousel-item {
    min-height: 100vh;
    max-height: 100vh;
  }

  #carouselId .carousel-item img {
    min-height: 100vh;
    max-height: 100vh;
  }
}

@media (max-width: 768px) {
  #carouselId {
    min-height: 100vh;
    max-height: 100vh;
  }

  #carouselId .carousel-item {
    min-height: 100vh;
    max-height: 100vh;
  }

  #carouselId .carousel-item img {
    min-height: 100vh;
    max-height: 100vh;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 100px 100px;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}

/* Section Headers */
.section-header h2 {
  color: var(--primary-dark);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

/* Service Cards */
.service-item {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-item .service-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.8rem;
}

/* Fact Counter */
.fact-item {
  text-align: center;
  padding: 40px 20px;
}

.fact-item .fact-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fact-item .fact-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 10px;
}

/* Blog Cards */
.blog-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-lg);
}

.blog-item .blog-image {
  height: 200px;
  background: var(--primary-gradient);
  position: relative;
}

.blog-item .blog-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--secondary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Contact Section */
.contact-info-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-lg);
}

.contact-info-item .contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.5rem;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  color: var(--text-light);
}

.footer .footer-link {
  color: var(--accent);
  transition: color 0.3s ease;
}

.footer .footer-link:hover {
  color: var(--primary-light);
}

.footer .social-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.footer .social-icon:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* Testimonials */
.testimonial-item {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px var(--shadow-lg);
}

.testimonial-item img {
  object-fit: cover;
}

/* Pricing Cards */
.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, #f0f9ff 0%, white 100%);
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.pricing-card .price-period {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Feature Items */
.feature-item {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-item .feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background: var(--primary-gradient);
  color: white;
  transform: scale(1.1);
}

/* Animations */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px var(--shadow);
  }
  50% {
    box-shadow: 0 0 40px var(--shadow-lg);
  }
}

.pulse-animation {
  animation: pulse-glow 2s infinite;
}

/* Modal Styles */
.modal-custom {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(8px);
}

.modal-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

.modal-custom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  pointer-events: none;
}

.modal-content-custom {
  background: white;
  border-radius: 24px;
  border: none;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.modal-header-custom {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #2563eb 100%);
  color: white;
  border: none;
  padding: 25px 30px;
  position: relative;
}

.modal-title-custom {
  font-weight: 700;
  font-size: 1.5rem;
}

.btn-close-custom {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.btn-close-custom:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.modal-body-custom {
  padding: 35px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.form-control-custom {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control-custom:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
  background: white;
}

.btn-submit-custom {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #2563eb 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.btn-submit-custom::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
}

.btn-submit-custom:hover::before {
  width: 300px;
  height: 300px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.6s ease forwards;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.bounce-animation {
  animation: bounce 2s infinite;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--primary-gradient);
  z-index: 9999;
  transition: width 0.1s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Header Badges */
.header-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  margin-left: 10px;
  font-size: 0.75rem;
  color: white;
  backdrop-filter: blur(5px);
}

.header-badge i {
  margin-right: 5px;
  color: #fbbf24;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .service-item {
    padding: 20px;
  }

  .testimonial-item {
    padding: 25px;
  }

  .modal-content-custom {
    margin: 10px;
  }

  .modal-body-custom {
    padding: 20px;
  }
}

/* ══════════════════════════════════════════════════════════
   POPUP OVERLAY ENGINE
══════════════════════════════════════════════════════════ */
.fc-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.fc-popup-overlay.fc-popup-show {
  opacity: 1;
}

.fc-popup-box {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}
.fc-popup-show .fc-popup-box {
  transform: translateY(0) scale(1);
}

/* Закрыть */
.fc-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.fc-popup-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

/* Иконка-эмодзи */
.fc-popup-icon {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 16px;
}

/* Заголовок */
.fc-popup-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.25;
}

/* Текст */
.fc-popup-text {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* Бейдж срочности */
.fc-popup-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Поля в попапе */
.fc-popup-box .form-control {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fc-popup-box .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  outline: none;
}

/* Кнопка в попапе */
.fc-popup-box .btn-primary {
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

/* Текст согласия */
.fc-popup-box .fc-consent-text {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: left;
  line-height: 1.5;
}
.fc-popup-box .fc-consent-text a {
  color: #2563eb;
}

/* Успех */
.fc-success-state { padding: 20px 0; }
.fc-success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  margin: 0 auto 16px;
  animation: fc-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes fc-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Сообщения форм */
.fc-form-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.5;
}
.fc-form-msg--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.fc-form-msg--success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Адаптив попапов */
@media (max-width: 480px) {
  .fc-popup-box {
    padding: 32px 20px 28px;
    border-radius: 16px;
    max-width: 100%;
  }
  .fc-popup-title { font-size: 1.2rem; }
  .fc-popup-icon  { font-size: 42px; }
}

/* ══════════════════════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════════════════════ */
#cookieBanner {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #0f172a;
  border-top: 3px solid #2563eb;
  padding: 20px 24px;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}
#cookieBanner.fc-cookie-show {
  bottom: 0;
}

.fc-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fc-cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  margin: 0;
}
.fc-cookie-text a {
  color: #60a5fa;
  text-decoration: underline;
}

.fc-cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.fc-cookie-btns .btn-cookie-accept {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.fc-cookie-btns .btn-cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
}

.fc-cookie-btns .btn-cookie-necessary {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.fc-cookie-btns .btn-cookie-necessary:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

@media (max-width: 640px) {
  .fc-cookie-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fc-cookie-btns  { width: 100%; }
  .fc-cookie-btns button { flex: 1; }
}

/* ══════════════════════════════════════════════════════════
   152-ФЗ — СТИЛИ ЧЕКБОКСА СОГЛАСИЯ
══════════════════════════════════════════════════════════ */
.consent-block {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.consent-block .form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  border: 2px solid #94a3b8;
  flex-shrink: 0;
}
.consent-block .form-check-input:checked {
  background-color: #2563eb;
  border-color: #2563eb;
}
.consent-block .form-check-label {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
}
.consent-block .form-check-label a {
  color: #2563eb;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   УЛУЧШЕННЫЕ КАРТОЧКИ УСЛУГ (index.html)
══════════════════════════════════════════════════════════ */
.svc-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
  border: 1.5px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.18);
  border-color: #2563eb;
}
.svc-card-header {
  padding: 28px 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.svc-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.svc-card:hover .svc-card-icon { transform: rotate(-8deg) scale(1.1); }
.svc-card-icon--blue   { background: linear-gradient(135deg,#1e40af,#2563eb); }
.svc-card-icon--cyan   { background: linear-gradient(135deg,#0891b2,#06b6d4); }
.svc-card-icon--green  { background: linear-gradient(135deg,#059669,#10b981); }
.svc-card-icon--amber  { background: linear-gradient(135deg,#d97706,#fbbf24); }
.svc-card-icon--violet { background: linear-gradient(135deg,#7c3aed,#8b5cf6); }
.svc-card-icon--red    { background: linear-gradient(135deg,#dc2626,#ef4444); }

.svc-card-title { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.svc-card-subtitle { font-size: 0.82rem; color: #64748b; margin: 0; }
.svc-card-body { padding: 0 24px 24px; flex: 1; display: flex; flex-direction: column; }
.svc-card-desc { color: #475569; font-size: 0.92rem; line-height: 1.65; margin-bottom: 14px; }
.svc-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.svc-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: #334155;
  padding: 4px 0;
  border-bottom: 1px solid #f1f5f9;
}
.svc-card-features li:last-child { border-bottom: none; }
.svc-card-features li i { color: #2563eb; font-size: 0.7rem; margin-top: 5px; flex-shrink: 0; }
.svc-card-price {
  font-size: 0.85rem;
  color: #2563eb;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: #eff6ff;
  border-radius: 8px;
  display: inline-block;
}
.svc-card-footer { margin-top: auto; }

/* rev-card styles → see TESTIMONIALS REV-CARD v2 below */

/* ══════════════════════════════════════════════════════════
   ПЕРЕРАБОТАННЫЕ ПОПАПЫ — НОВЫЙ ВИЗУАЛ
══════════════════════════════════════════════════════════ */
.fc-popup-box-v2 {
  position: relative;
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.28);
  overflow: hidden;
  transform: translateY(40px) scale(0.94);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fc-popup-show .fc-popup-box-v2 { transform: translateY(0) scale(1); }

.fc-popup-hero {
  padding: 32px 32px 24px;
  text-align: center;
  position: relative;
}
.fc-popup-hero--blue   { background: linear-gradient(135deg,#1e3a8a 0%,#2563eb 100%); }
.fc-popup-hero--amber  { background: linear-gradient(135deg,#b45309 0%,#f59e0b 100%); }
.fc-popup-hero--green  { background: linear-gradient(135deg,#065f46 0%,#10b981 100%); }
.fc-popup-hero-icon    { font-size: 3.5rem; margin-bottom: 12px; }
.fc-popup-hero-title   { font-size: 1.5rem; font-weight: 800; color: #fff; margin: 0 0 8px; line-height: 1.2; }
.fc-popup-hero-sub     { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin: 0; line-height: 1.5; }

.fc-popup-body-v2 { padding: 24px 28px 28px; }

.fc-popup-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fc-popup-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #334155;
}
.fc-popup-benefits li .benefit-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dbeafe;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.fc-popup-close-v2 {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.fc-popup-close-v2:hover { background: rgba(255,255,255,0.35); }

@media (max-width: 480px) {
  .fc-popup-box-v2 { border-radius: 18px; max-width: 100%; }
  .fc-popup-hero { padding: 24px 20px 18px; }
  .fc-popup-hero-title { font-size: 1.25rem; }
  .fc-popup-body-v2 { padding: 18px 18px 22px; }
}

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS — REV-CARD v2
══════════════════════════════════════════════════════════ */
.rev-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: 0 4px 20px rgba(14,165,233,.08), 0 1px 4px rgba(0,0,0,.06);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.rev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(14,165,233,.14), 0 2px 8px rgba(0,0,0,.08);
}
.rev-card--featured {
  background: linear-gradient(160deg,#f0f9ff 0%,#fff 60%);
  border: 2px solid #bae6fd;
}
.rev-card-quote {
  font-size: 5rem;
  line-height: .7;
  color: #bae6fd;
  font-family: Georgia, serif;
  margin-bottom: 8px;
  user-select: none;
}
.rev-card-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: .08em;
}
.rev-card-text {
  color: #374151;
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}
.rev-card-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.rev-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg,#0ea5e9,#14b8a6);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rev-card-name {
  font-weight: 700;
  font-size: .95rem;
  color: #1e293b;
}
.rev-card-role {
  font-size: .8rem;
  color: #64748b;
}
.rev-card-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #dcfce7;
  color: #15803d;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .03em;
}
.rev-card-date {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════
   POPUP v2 — REDESIGNED
══════════════════════════════════════════════════════════ */
.fc-popup-box-v2 {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,.22);
  width: 460px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.85) translateY(24px);
  opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
  scrollbar-width: thin;
}
.fc-popup-show .fc-popup-box-v2 {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Hero header block */
.fc-popup-hero {
  padding: 32px 28px 24px;
  text-align: center;
  color: #fff;
  border-radius: 20px 20px 0 0;
}
.fc-popup-hero--blue  { background: linear-gradient(135deg,#0ea5e9 0%,#06b6d4 100%); }
.fc-popup-hero--amber { background: linear-gradient(135deg,#f59e0b 0%,#ef4444 100%); }
.fc-popup-hero--green { background: linear-gradient(135deg,#10b981 0%,#06b6d4 100%); }

.fc-popup-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.fc-popup-hero-icon {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 12px;
}
.fc-popup-hero-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
}
.fc-popup-hero-sub {
  font-size: .85rem;
  opacity: .85;
}

/* Body */
.fc-popup-body {
  padding: 24px 28px 28px;
}

/* Benefits list */
.fc-popup-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fc-popup-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: #374151;
  background: #f8fafc;
  border-radius: 10px;
  padding: 9px 14px;
}
.fc-pb-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Input */
.fc-popup-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .95rem;
  transition: border-color .2s;
}
.fc-popup-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
  outline: none;
}

/* Submit button variants */
.fc-popup-submit {
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  letter-spacing: .02em;
}
.fc-popup-submit:hover  { opacity: .9; transform: translateY(-1px); }
.fc-popup-submit:active { transform: translateY(0); }
.fc-popup-submit--blue  { background: linear-gradient(135deg,#0ea5e9,#0284c7); }
.fc-popup-submit--amber { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.fc-popup-submit--green { background: linear-gradient(135deg,#10b981,#0284c7); }

@media (max-width: 480px) {
  .fc-popup-box-v2 { border-radius: 16px; }
  .fc-popup-hero   { padding: 24px 20px 18px; border-radius: 16px 16px 0 0; }
  .fc-popup-body   { padding: 20px 20px 24px; }
  .fc-popup-hero-title { font-size: 1.1rem; }
}

/* ╔══════════════════════════════════════════════════════════════════════
   ФЕДЕРАЦИЯ-ХОЛОД — ЕДИНАЯ ДИЗАЙН-СИСТЕМА v3.0
   Все секции, карточки, заголовки, кнопки, анимации в одном стиле
══════════════════════════════════════════════════════════════════════╝ */

/* ── ГЛОБАЛЬНЫЕ ТОКЕНЫ ────────────────────────────────────────────── */
:root {
  --ds-radius:     18px;
  --ds-radius-sm:  10px;
  --ds-radius-lg:  24px;
  --ds-shadow:     0 4px 24px rgba(14,165,233,.10), 0 1px 4px rgba(0,0,0,.06);
  --ds-shadow-lg:  0 12px 40px rgba(14,165,233,.16), 0 2px 8px rgba(0,0,0,.08);
  --ds-shadow-hover: 0 20px 48px rgba(14,165,233,.20), 0 4px 12px rgba(0,0,0,.10);
  --ds-transition: .28s cubic-bezier(.4,0,.2,1);
  --ds-section-py: 5rem;
  --ds-section-py-inner: 4rem;
}

/* ── SECTION WRAPPER — единый контейнер секции ────────────────────── */
.ds-section {
  padding: var(--ds-section-py) 0;
}
.ds-section--light { background: #f8fafc; }
.ds-section--white { background: #fff; }
.ds-section--blue  {
  background: linear-gradient(135deg, #f0f9ff 0%, #e8f4fd 100%);
}
.ds-section--gradient {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 60%, #0891b2 100%);
  color: #fff;
}

/* ── SECTION HEADER — единый стиль заголовка секции ──────────────── */
.ds-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.ds-badge {
  display: inline-block;
  background: rgba(14,165,233,.12);
  color: #0284c7;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.ds-section--gradient .ds-badge {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.ds-title {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 12px;
}
.ds-section--gradient .ds-title { color: #fff; }
.ds-subtitle {
  font-size: .97rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}
.ds-section--gradient .ds-subtitle { color: rgba(255,255,255,.8); }

/* ── UNIVERSAL CARD ───────────────────────────────────────────────── */
.ds-card {
  background: #fff;
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
  transition: transform var(--ds-transition), box-shadow var(--ds-transition);
  height: 100%;
  overflow: hidden;
}
.ds-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ds-shadow-hover);
}

/* ── INFO CARD (иконка + заголовок + текст) ──────────────────────── */
.ds-info-card {
  padding: 28px 24px;
  text-align: center;
}
.ds-info-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg,#f0f9ff,#e0f2fe);
  color: #0ea5e9;
  flex-shrink: 0;
}
.ds-info-card__icon--blue    { background: linear-gradient(135deg,#dbeafe,#bfdbfe); color:#2563eb; }
.ds-info-card__icon--cyan    { background: linear-gradient(135deg,#cffafe,#a5f3fc); color:#0891b2; }
.ds-info-card__icon--green   { background: linear-gradient(135deg,#dcfce7,#bbf7d0); color:#15803d; }
.ds-info-card__icon--amber   { background: linear-gradient(135deg,#fef3c7,#fde68a); color:#d97706; }
.ds-info-card__icon--violet  { background: linear-gradient(135deg,#ede9fe,#ddd6fe); color:#7c3aed; }
.ds-info-card__icon--red     { background: linear-gradient(135deg,#fee2e2,#fecaca); color:#dc2626; }
.ds-info-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}
.ds-info-card__text {
  font-size: .9rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ── STEP CARD (нумерованные шаги) ───────────────────────────────── */
.ds-step {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
  position: relative;
  height: 100%;
  transition: transform var(--ds-transition), box-shadow var(--ds-transition);
}
.ds-step:hover { transform: translateY(-4px); box-shadow: var(--ds-shadow-hover); }
.ds-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg,#0ea5e9,#06b6d4);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(14,165,233,.3);
}
.ds-step__num--done { background: linear-gradient(135deg,#10b981,#0ea5e9); }
.ds-step__title { font-size: .95rem; font-weight: 700; color:#1e293b; margin-bottom: 6px; }
.ds-step__text  { font-size: .83rem; color:#64748b; margin: 0; line-height: 1.6; }

/* ── STAT CARD (цифры/факты) ─────────────────────────────────────── */
.ds-stat {
  text-align: center;
  padding: 24px 16px;
}
.ds-stat__value {
  font-size: clamp(2rem,4vw,2.8rem);
  font-weight: 900;
  color: #0ea5e9;
  line-height: 1;
  margin-bottom: 6px;
}
.ds-stat__label {
  font-size: .88rem;
  color: #fff;
  line-height: 1.4;
  font-weight: 500;
}

/* ── GLASS CARD (на тёмном/градиентном фоне) ─────────────────────── */
.ds-glass-card {
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--ds-radius);
  padding: 28px 24px;
  text-align: center;
  height: 100%;
  transition: transform var(--ds-transition);
}
.ds-glass-card:hover { transform: translateY(-4px); }
.ds-glass-card__icon { font-size: 2.4rem; margin-bottom: 14px; line-height: 1; }
.ds-glass-card__title { font-size: 1rem; font-weight: 700; color:#fff; margin-bottom: 8px; }
.ds-glass-card__text  { font-size: .87rem; color: rgba(255,255,255,.8); margin:0; line-height:1.6; }

/* ── CTA INLINE FORM ─────────────────────────────────────────────── */
.ds-cta-form {
  background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
  border-radius: var(--ds-radius-lg);
  padding: 48px;
  box-shadow: var(--ds-shadow-lg);
}
@media(max-width:576px) { .ds-cta-form { padding: 28px 20px; } }
.ds-cta-form__title { font-size: 1.4rem; font-weight: 800; color:#0f172a; margin-bottom: 6px; }
.ds-cta-form__sub   { font-size: .93rem; color:#64748b; margin-bottom: 0; }

/* ── PAGE HERO (breadcrumb header) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0c4a6e 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero__title {
  font-size: clamp(2rem,5vw,3.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.8); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ── BRAND LOGO STRIP ────────────────────────────────────────────── */
.ds-brand-chip {
  background: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--ds-shadow);
  transition: transform var(--ds-transition);
}
.ds-brand-chip:hover { transform: translateY(-3px); }
.ds-brand-chip__name { font-weight: 800; color: #0ea5e9; font-size: 1.1rem; }
.ds-brand-chip__sub  { font-size: .72rem; color: #94a3b8; }

/* ── FAQ ACCORDION ────────────────────────────────────────────────── */
.ds-accordion .accordion-item {
  border: none;
  border-radius: var(--ds-radius) !important;
  margin-bottom: 12px;
  box-shadow: var(--ds-shadow);
  overflow: hidden;
}
.ds-accordion .accordion-button {
  font-weight: 700;
  font-size: .97rem;
  color: #1e293b;
  background: #fff;
  padding: 18px 22px;
  border-radius: var(--ds-radius) !important;
}
.ds-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg,#f0f9ff,#fff);
  color: #0284c7;
  box-shadow: none;
}
.ds-accordion .accordion-button::after {
  background-color: #0ea5e9;
  border-radius: 50%;
  width: 24px; height: 24px;
  background-size: 14px;
  background-position: center;
}
.ds-accordion .accordion-body { padding: 0 22px 20px; color: #64748b; font-size: .93rem; line-height: 1.7; }

/* ── TESTIMONIAL REV-CARD  (уже есть, усиливаем) ─────────────────── */
.rev-card { position: relative; display: flex; flex-direction: column; }
.rev-card-text { flex-grow: 1; }

/* ── PRICE TABLE ─────────────────────────────────────────────────── */
.ds-price-table { border-radius: var(--ds-radius); overflow: hidden; box-shadow: var(--ds-shadow-lg); }
.ds-price-table thead th {
  background: linear-gradient(135deg,#0ea5e9,#0284c7);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 16px 20px;
}
.ds-price-table tbody tr:hover { background: #f0f9ff; }
.ds-price-table .group-row td {
  background: #f8fafc;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #94a3b8;
  padding: 10px 20px;
}

/* ── BLOG CARD ───────────────────────────────────────────────────── */
.ds-blog-card {
  background: #fff;
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
  overflow: hidden;
  height: 100%;
  transition: transform var(--ds-transition), box-shadow var(--ds-transition);
  display: flex;
  flex-direction: column;
}
.ds-blog-card:hover { transform: translateY(-5px); box-shadow: var(--ds-shadow-hover); }
.ds-blog-card__img { width:100%; height:200px; object-fit:cover; }
.ds-blog-card__body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.ds-blog-card__cat {
  display: inline-block;
  background: rgba(14,165,233,.1);
  color: #0284c7;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.ds-blog-card__title { font-size: 1rem; font-weight: 700; color:#1e293b; margin-bottom: 8px; line-height: 1.4; }
.ds-blog-card__excerpt { font-size: .875rem; color:#64748b; line-height:1.65; flex-grow: 1; }
.ds-blog-card__footer { padding: 16px 22px; border-top: 1px solid #f1f5f9; display:flex; align-items:center; justify-content:space-between; }
.ds-blog-card__meta { font-size: .78rem; color:#94a3b8; }
.ds-blog-card__link { font-size: .82rem; font-weight: 700; color:#0ea5e9; text-decoration:none; }
.ds-blog-card__link:hover { color:#0284c7; }

/* ── PORTFOLIO CARD ─────────────────────────────────────────────── */
.ds-portfolio-card {
  border-radius: var(--ds-radius);
  overflow: hidden;
  box-shadow: var(--ds-shadow);
  position: relative;
  height: 100%;
  transition: transform var(--ds-transition), box-shadow var(--ds-transition);
}
.ds-portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--ds-shadow-hover); }
.ds-portfolio-card__img { width:100%; height:220px; object-fit:cover; display:block; }
.ds-portfolio-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(2,52,99,.85) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--ds-transition);
}
.ds-portfolio-card:hover .ds-portfolio-card__overlay { opacity: 1; }
.ds-portfolio-card__body { background:#fff; padding:18px; }
.ds-portfolio-card__tag { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:#0ea5e9; margin-bottom:4px; }
.ds-portfolio-card__title { font-size:.97rem; font-weight:700; color:#1e293b; margin-bottom:4px; }
.ds-portfolio-card__meta { font-size:.8rem; color:#94a3b8; }

/* ── CONTACT CARD ────────────────────────────────────────────────── */
.ds-contact-card {
  background: #fff;
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
  padding: 28px;
  height: 100%;
  transition: transform var(--ds-transition);
}
.ds-contact-card:hover { transform: translateY(-4px); }
.ds-contact-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg,#f0f9ff,#e0f2fe);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #0ea5e9;
  margin-bottom: 16px;
}
.ds-contact-card__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #94a3b8; margin-bottom: 4px; }
.ds-contact-card__value { font-size: 1rem; font-weight: 700; color: #1e293b; }
.ds-contact-card__sub   { font-size: .83rem; color: #64748b; margin-top: 4px; }

/* ── CTA BANNER (bottom of page) ────────────────────────────────── */
.ds-cta-banner {
  background: linear-gradient(135deg,#0ea5e9 0%,#0284c7 100%);
  border-radius: var(--ds-radius-lg);
  padding: 40px 48px;
  text-align: center;
}
@media(max-width:576px){ .ds-cta-banner { padding:28px 20px; } }
.ds-cta-banner__title { font-size: 1.4rem; font-weight: 800; color:#fff; margin-bottom:10px; }
.ds-cta-banner__sub   { color: rgba(255,255,255,.8); margin-bottom:0; font-size:.95rem; }

/* ── UNIFIED BUTTONS ─────────────────────────────────────────────── */
.ds-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--ds-transition), box-shadow var(--ds-transition), opacity var(--ds-transition);
  text-decoration: none;
  white-space: nowrap;
}
.ds-btn:hover { transform: translateY(-2px); opacity: .92; }
.ds-btn:active { transform: translateY(0); }
.ds-btn--primary {
  background: linear-gradient(135deg,#0ea5e9,#0284c7);
  color: #fff;
  box-shadow: 0 4px 18px rgba(14,165,233,.35);
}
.ds-btn--primary:hover { box-shadow: 0 8px 28px rgba(14,165,233,.45); color:#fff; }
.ds-btn--secondary {
  background: linear-gradient(135deg,#06b6d4,#0891b2);
  color: #fff;
  box-shadow: 0 4px 18px rgba(6,182,212,.3);
}
.ds-btn--outline {
  background: transparent;
  color: #0ea5e9;
  border: 2px solid #0ea5e9;
  box-shadow: none;
}
.ds-btn--outline:hover { background: #0ea5e9; color: #fff; }
.ds-btn--white {
  background: #fff;
  color: #0ea5e9;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.ds-btn--white:hover { color: #0284c7; }
.ds-btn--danger {
  background: linear-gradient(135deg,#ef4444,#dc2626);
  color: #fff;
  box-shadow: 0 4px 18px rgba(239,68,68,.3);
}
.ds-btn--sm { padding: 8px 18px; font-size: .85rem; }
.ds-btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── FORM INPUTS (unified) ───────────────────────────────────────── */
.ds-input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-size: .95rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  transition: border-color var(--ds-transition), box-shadow var(--ds-transition);
}
.ds-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14,165,233,.12);
}
.ds-input::placeholder { color: #94a3b8; }

/* ── FOOTER OVERRIDE ─────────────────────────────────────────────── */
.footer a.footer-link:hover { color: var(--secondary) !important; }

/* ── WOW ANIMATIONS (override delays) ────────────────────────────── */
[data-wow-delay] { visibility: hidden; }
.animated { visibility: visible; }

/* ── BACK TO TOP ─────────────────────────────────────────────────── */


/* ── RESPONSIVE UTILITIES ────────────────────────────────────────── */
@media (max-width: 991px) {
  .ds-section { padding: 3.5rem 0; }
  .ds-section-header { margin-bottom: 2.5rem; }
  .ds-cta-form { padding: 32px 24px; }
}
@media (max-width: 575px) {
  .ds-section { padding: 2.8rem 0; }
  .ds-title { font-size: 1.4rem; }
  .page-hero { padding: 60px 0 44px; }
  .page-hero__title { font-size: 1.8rem; }
  .ds-cta-banner { padding: 24px 16px; }
}

/* ══════════════════════════════════════════════════════════════════
   ЕДИНАЯ ДИЗАЙН-СИСТЕМА — FEDERATION COLD
   Версия 2.0 — унифицированные стили для ВСЕХ страниц и попапов
══════════════════════════════════════════════════════════════════ */

/* ─── 1. Bootstrap override: bg-secondary → тёмный градиент ─── */
.bg-secondary {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
}
/* bg-secondary + текст и счётчики */
.bg-secondary .text-primary,
.bg-secondary .counter-value {
  color: #38bdf8 !important;
}
.bg-secondary .text-white { color: #fff !important; }

/* ─── 2. bg-light → светло-голубой ─── */
.bg-light {
  background-color: #f0f9ff !important;
}

/* ─── 3. Альтернативный фон для секций ─── */
.section-alt {
  background-color: #f0f9ff;
}
.section-white {
  background-color: #fff;
}

/* ─── 4. Page-header — единый для всех внутренних страниц ─── */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 60%, #2563eb 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255,255,255,0.06) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(251,191,36,0.08) 0%, transparent 45%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 50%, #0ea5e9 100%);
}
.page-header .breadcrumb-item a {
  color: #93c5fd;
  text-decoration: none;
  transition: color .2s;
}
.page-header .breadcrumb-item a:hover { color: #fff; }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,.55); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.35); }
.page-header h1 { text-shadow: 0 2px 12px rgba(0,0,0,.35); }

/* ─── 5. Единые заголовки секций ─── */
.section-badge {
  display: inline-block;
  background: rgba(14,165,233,.12);
  color: #0284c7;
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-desc {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* ─── 6. Шаги процесса ─── */
.process-item {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
.process-item h4 {
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-item p,
.process-item .text-muted {
  color: #64748b;
  font-size: .92rem;
  line-height: 1.65;
}
.step-circle {
  width: 64px;
  height: 64px;
  font-size: 1.4rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(14,165,233,.40);
  transition: transform .3s ease, box-shadow .3s ease;
  margin-bottom: 16px;
}
.process-item:hover .step-circle {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 8px 28px rgba(14,165,233,.55);
}

/* connector line between steps (desktop) */
@media (min-width: 992px) {
  .process-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 52px;
    right: -24px;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    opacity: .4;
  }
}

/* ─── 7. Карточка отзыва (testimonials.html) ─── */
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(14,165,233,.10);
  border: 1.5px solid #e2e8f0;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(14,165,233,.20);
  border-color: #0ea5e9;
}
.testimonial-header { display: flex; align-items: center; }
.testimonial-rating i { font-size: .95rem; }
.testimonial-text {
  color: #334155;
  font-size: .95rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-service { margin-top: auto; }

/* ─── 8. Аватар-кружок ─── */
.avatar-circle {
  width: 60px;
  height: 60px;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 1;
}

/* ─── 9. Блок рейтинга ─── */
.rating-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(14,165,233,.10);
  border: 1.5px solid #e2e8f0;
  transition: all .3s ease;
}
.rating-card:hover { box-shadow: 0 12px 36px rgba(14,165,233,.18); transform: translateY(-4px); }
.rating-big { margin: 12px 0; }
.rating-breakdown {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(14,165,233,.10);
  border: 1.5px solid #e2e8f0;
  transition: all .3s ease;
}
.rating-breakdown:hover { box-shadow: 0 12px 36px rgba(14,165,233,.18); transform: translateY(-4px); }
.progress { background-color: #e2e8f0; border-radius: 50px; overflow: hidden; }
.progress-bar { border-radius: 50px; transition: width .8s ease; }

/* ─── 10. Карточки тарифов ─── */
.pricing-plan {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  height: 100%;
}
.pricing-plan:hover { transform: translateY(-10px); box-shadow: 0 24px 56px rgba(14,165,233,.20); }
.pricing-plan--featured { border-color: #0ea5e9; box-shadow: 0 12px 40px rgba(14,165,233,.22); }
.pricing-plan__head { padding: 28px 24px; text-align: center; background: #f8fafc; }
.pricing-plan--featured .pricing-plan__head { background: linear-gradient(135deg,#0ea5e9 0%,#0284c7 100%); }
.pricing-plan__price { font-size: 2.5rem; font-weight: 800; color: #1e293b; line-height: 1; }
.pricing-plan--featured .pricing-plan__price { color: #fff; }
.pricing-plan__body { padding: 24px; }

/* ─── 11. Мини-карточки с эмодзи ─── */
.micro-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(14,165,233,.08);
  border: 1.5px solid #e2e8f0;
  text-align: center;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  height: 100%;
}
.micro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(14,165,233,.18);
  border-color: #0ea5e9;
}
.micro-card .micro-icon { font-size: 2.4rem; margin-bottom: 12px; line-height: 1; }
.micro-card h6 { color: #0f172a; font-weight: 700; }
.micro-card p { color: #64748b; font-size: .88rem; line-height: 1.6; }

/* ─── 12. CTA-блок ─── */
.cta-block {
  background: linear-gradient(135deg,#0f172a 0%,#1e40af 55%,#2563eb 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle,rgba(255,255,255,.06) 0%,transparent 65%);
  pointer-events: none;
}

/* ─── 13. Портфолио ─── */
.portfolio-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(14,165,233,.08);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  background: #fff;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(14,165,233,.22); border-color: #0ea5e9; }
.portfolio-img { overflow: hidden; }
.portfolio-img img { transition: transform .45s ease; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.06); }

/* ─── 14. Блог-карточки ─── */
.blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(14,165,233,.08);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 18px 44px rgba(14,165,233,.20); border-color: #0ea5e9; }
.blog-card__img-wrap { overflow: hidden; }
.blog-card__img { height: 220px; object-fit: cover; width: 100%; transition: transform .45s ease; display: block; }
.blog-card:hover .blog-card__img { transform: scale(1.06); }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

/* ─── 15. Аккордеон ─── */
.accordion-item {
  border: none;
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(14,165,233,.08);
  transition: box-shadow .3s ease;
}
.accordion-item:hover { box-shadow: 0 6px 24px rgba(14,165,233,.16); }
.accordion-button { font-weight: 600; color: #0f172a; background: #fff; border-radius: 14px !important; transition: all .3s ease; }
.accordion-button:not(.collapsed) { color: #0284c7; background: #f0f9ff; box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(14,165,233,.18); outline: none; }
.accordion-body { background: #fff; color: #475569; line-height: 1.7; }

/* ─── 16. Таблица прайса ─── */
.price-table thead th { background: linear-gradient(135deg,#0ea5e9,#0284c7); color: #fff; border: none; font-weight: 600; }
.price-table tbody tr { transition: background-color .2s; }
.price-table tbody tr:hover { background-color: #f0f9ff; }
.price-table .table-light td, .price-table .table-light th {
  background-color: #f8fafc; color: #64748b; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}

/* ══════════════════════════════════════════════════════════════════
   ФИНАЛЬНЫЕ ИСПРАВЛЕНИЯ — цвета, footer, bg-dark, разное
══════════════════════════════════════════════════════════════════ */

/* bg-dark → наш тёмный градиент (для footer) */
.bg-dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* Footer заголовки — белые на тёмном фоне */
.footer-section h5,
.footer-section .h5 {
  color: #e2e8f0 !important;
  font-weight: 600;
}

/* text-secondary в footer — светло-серый */
.footer-section .text-secondary,
.footer-section a.h5.text-secondary {
  color: #94a3b8 !important;
}

/* Иконки в footer на bg-light кнопках */
.footer-section .bg-light {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all .3s ease;
}
.footer-section .bg-light:hover {
  background-color: rgba(14, 165, 233, 0.2) !important;
  color: #38bdf8 !important;
  border-color: #0ea5e9;
}

/* ─── text-primary → наш cyan/blue ─── */
.text-primary { color: #0284c7 !important; }
a.text-primary:hover { color: #0ea5e9 !important; }

/* ─── Spinner нашего цвета ─── */
.spinner-grow { color: #0ea5e9 !important; }

/* ─── h5 в section-header контексте ─── */
/* Subtle conversion: standalone h5.text-primary above h1/h2 in section headers */
.text-center > h5.text-primary,
.text-center > .section-badge {
  display: inline-block;
  background: rgba(14, 165, 233, .12);
  color: #0284c7;
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ─── Унификация fact-card ─── */
.fact-card {
  border: 1.5px solid #e2e8f0 !important;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.fact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(14,165,233,.18) !important;
  border-color: #0ea5e9 !important;
}
.fact-icon {
  width: 60px !important;
  height: 60px !important;
  background: rgba(14,165,233,.12) !important;
  transition: all .3s ease;
}
.fact-card:hover .fact-icon {
  background: linear-gradient(135deg,#0ea5e9,#0284c7) !important;
}
.fact-card:hover .fact-icon i { color: #fff !important; }

/* ─── Карусель caption — текст-secondary цвет ─── */
.carousel-caption .text-secondary,
.carousel-caption h6.text-secondary {
  color: #38bdf8 !important;
}

/* ─── bg-info → наш teal ─── */
.bg-info { background-color: #06b6d4 !important; }
.text-info { color: #0891b2 !important; }

/* ─── about-section — единый вид ─── */
.about-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

/* ─── service.html специфика ─── */
.svc-card-header--blue   { background: linear-gradient(135deg,rgba(30,64,175,.06),rgba(37,99,235,.04)); border-bottom: 1px solid #e2e8f0; }
.svc-card-header--cyan   { background: linear-gradient(135deg,rgba(8,145,178,.06),rgba(6,182,212,.04)); border-bottom: 1px solid #e2e8f0; }
.svc-card-header--green  { background: linear-gradient(135deg,rgba(5,150,105,.06),rgba(16,185,129,.04)); border-bottom: 1px solid #e2e8f0; }
.svc-card-header--amber  { background: linear-gradient(135deg,rgba(217,119,6,.06),rgba(251,191,36,.04)); border-bottom: 1px solid #e2e8f0; }
.svc-card-header--violet { background: linear-gradient(135deg,rgba(124,58,237,.06),rgba(139,92,246,.04)); border-bottom: 1px solid #e2e8f0; }
.svc-card-header--red    { background: linear-gradient(135deg,rgba(220,38,38,.06),rgba(239,68,68,.04)); border-bottom: 1px solid #e2e8f0; }

/* ─── pricing.html — featured card top popular badge ─── */
.pricing-popular-badge {
  background: rgba(255,255,255,.22);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
  display: inline-block;
}

/* ─── Аккордеон цвет стрелки ─── */
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230284c7'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230ea5e9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  transform: rotate(-180deg);
}

/* ─── Прогресс-бар цвет ─── */
.progress-bar.bg-success { background: linear-gradient(90deg,#10b981,#059669) !important; }
.progress-bar.bg-primary { background: linear-gradient(90deg,#0ea5e9,#0284c7) !important; }
.progress-bar.bg-info    { background: linear-gradient(90deg,#06b6d4,#0891b2) !important; }
.progress-bar.bg-warning { background: linear-gradient(90deg,#fbbf24,#f59e0b) !important; }
.progress-bar.bg-danger  { background: linear-gradient(90deg,#ef4444,#dc2626) !important; }

/* ─── Blog-item в blog.html — унификация ─── */
.blog-item .rounded-3 {
  border-radius: 18px !important;
}
.blog-item h5 a {
  transition: color .2s;
}
.blog-item h5 a:hover { color: #0ea5e9 !important; }

/* ─── Portfolio modals ─── */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  overflow: hidden;
}
.modal-header {
  background: linear-gradient(135deg,#0f172a,#1e40af,#2563eb);
  color: #fff;
  border: none;
  padding: 20px 28px;
}
.modal-header .modal-title { color: #fff; font-weight: 700; }
.modal-header .btn-close { filter: brightness(0) invert(1) opacity(.8); }
.modal-footer { border-top: 1px solid #e2e8f0; background: #f8fafc; }

/* ─── Общий transition на интерактивных элементах ─── */
.btn, a { transition-timing-function: cubic-bezier(.4,0,.2,1); }

/* ─── back-to-top button ─── */
.back-to-top {
  background: linear-gradient(135deg,#0ea5e9,#0284c7) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(14,165,233,.4) !important;
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14,165,233,.55) !important;
}

/* ─── Пагинация ─── */
.page-item .page-link {
  border-color: #e2e8f0;
  color: #0284c7;
  border-radius: 10px !important;
  margin: 0 3px;
  transition: all .25s ease;
}
.page-item .page-link:hover {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
}
.page-item.active .page-link {
  background: linear-gradient(135deg,#0ea5e9,#0284c7);
  border-color: #0ea5e9;
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
}

/* ─── FAQ tabs / nav pills ─── */
.nav-pills .nav-link {
  border-radius: 12px;
  color: #334155;
  font-weight: 500;
  transition: all .25s ease;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: linear-gradient(135deg,#0ea5e9,#0284c7);
  color: #fff;
  box-shadow: 0 4px 14px rgba(14,165,233,.35);
}

/* ─── Contact form ─── */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #0ea5e9 !important;
  box-shadow: 0 0 0 4px rgba(14,165,233,.12) !important;
}

/* ─── Selection color ─── */
::selection {
  background: rgba(14,165,233,.2);
  color: #0f172a;
}

/* ─── Мобильные финальные фиксы ─── */
@media (max-width: 992px) {
  .testimonial-card, .blog-card, .svc-card, .pricing-plan {
    margin-bottom: 0;
  }
}
@media (max-width: 576px) {
  .page-header { padding: 40px 0 !important; }
  .page-header h1 { font-size: 1.8rem !important; }
  .rating-card, .rating-breakdown { margin-bottom: 16px; }
}

/* ═══════════════════════════════════════════════════════
   STATS STRIP — unified counter section
   ═══════════════════════════════════════════════════════ */
.stats-strip {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(14,165,233,.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 90% 50%, rgba(37,99,235,.08) 0%, transparent 60%);
  pointer-events: none;
}
.stats-strip::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0ea5e9, #38bdf8, #0ea5e9, transparent);
}
.stats-item {
  text-align: center;
  padding: 12px 8px;
  position: relative;
}
.stats-item + .stats-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(14,165,233,.3), transparent);
}
@media (max-width: 575px) {
  .stats-item + .stats-item::before { display: none; }
}
.stats-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14,165,233,.18), rgba(37,99,235,.18));
  border: 1px solid rgba(14,165,233,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #38bdf8;
  box-shadow: 0 0 20px rgba(14,165,233,.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stats-item:hover .stats-icon {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 28px rgba(14,165,233,.30);
}
.stats-value {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stats-value .counter-value { color: #38bdf8; }
.stats-suffix {
  color: #0ea5e9;
  font-weight: 700;
}
.stats-label {
  font-size: .95rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 3px;
}
.stats-sub {
  font-size: .78rem;
  color: #64748b;
}

/* ═══════════════════════════════════════════════════════
   MODAL — modern redesign
   ═══════════════════════════════════════════════════════ */
.modal-custom-v2 .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
}
.modal-custom-v2 .modal-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  border: none;
  padding: 24px 28px 20px;
  position: relative;
}
.modal-custom-v2 .modal-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0ea5e9, #38bdf8, #0ea5e9, transparent);
}
.modal-custom-v2 .modal-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-custom-v2 .modal-title .modal-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.modal-custom-v2 .btn-close {
  filter: invert(1);
  opacity: .7;
}
.modal-custom-v2 .btn-close:hover { opacity: 1; }
.modal-custom-v2 .modal-body {
  padding: 28px;
  background: #fff;
}
.modal-custom-v2 .modal-body .form-label {
  font-weight: 600;
  font-size: .85rem;
  color: #374151;
  margin-bottom: 6px;
}
.modal-custom-v2 .modal-body .form-control,
.modal-custom-v2 .modal-body .form-select {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  background: #f9fafb;
}
.modal-custom-v2 .modal-body .form-control:focus,
.modal-custom-v2 .modal-body .form-select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14,165,233,.12);
  background: #fff;
  outline: none;
}
.modal-custom-v2 .modal-body textarea.form-control { resize: none; }
.modal-custom-v2 .btn-modal-submit {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  box-shadow: 0 4px 16px rgba(14,165,233,.30);
}
.modal-custom-v2 .btn-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,.40);
}
.modal-custom-v2 .btn-modal-submit:active { transform: translateY(0); }
.modal-custom-v2 .modal-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: .78rem;
  color: #9ca3af;
}
.modal-custom-v2 .modal-trust i { color: #0ea5e9; }
.modal-custom-v2 .modal-perks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.modal-custom-v2 .modal-perk {
  flex: 1 1 calc(50% - 4px);
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: .78rem;
  font-weight: 600;
  color: #0369a1;
  display: flex;
  align-items: center;
  gap: 6px;
}
.modal-custom-v2 .modal-perk i { color: #0ea5e9; font-size: .85rem; }

/* ── Mobile nav compact layout (11+ items) ──────────────────────────────── */
@media (max-width: 992px) {
  .mobile-nav.show .nav-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .mobile-nav .nav-link-custom {
    padding: 10px 12px;
    font-size: 0.875rem;
    text-align: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    transition: background .2s;
  }
  .mobile-nav .nav-link-custom:hover,
  .mobile-nav .nav-link-custom.active {
    background: rgba(14,165,233,0.25);
    color: #38bdf8;
  }
}

/* ── Image optimisation: prevent layout shift ───────────────────────────── */
img {
  max-width: 100%;
  height: auto;
}
img[loading="lazy"] {
  content-visibility: auto;
}

/* ── Smooth page transitions ─────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* ── Print styles: hide nav, FAB, spinner ────────────────────────────────── */
@media print {
  .header-container, #spinner, .modal,
  .mobile-nav, .back-to-top { display: none !important; }
  body { color: #000; background: #fff; }
  a[href]:after { content: " (" attr(href) ")"; }
}

/* ── Back-to-top button — bottom LEFT, away from FAB (bottom-right) ────── */
.back-to-top {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  right: auto !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(14,165,233,.45) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 16px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s;
  text-decoration: none;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(14,165,233,.55) !important;
  color: #fff !important;
}
@media (max-width: 576px) {
  .back-to-top { left: 16px !important; bottom: 16px !important; }
}
@media print {
  .back-to-top { display: none !important; }
}


/* ══════════════════════════════════════════════════════════════════════
   МОБИЛЬНАЯ ОПТИМИЗАЦИЯ v2 — комплексные улучшения для телефонов
   Breakpoints: 575px (xs), 767px (sm), 991px (md)
   ══════════════════════════════════════════════════════════════════════ */

/* ── 0. Глобальные мобильные фиксы ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
/* Убираем 300ms задержку тапа на всех интерактивных элементах */
a, button, [role="button"], input, label, select, textarea {
  touch-action: manipulation;
}
/* Все img адаптивны */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ── 1. iOS-зум: инпуты не менее 16px ───────────────────────────────── */
input:not([type="range"]),
textarea,
select {
  font-size: 16px !important;
}
@media (min-width: 576px) {
  input:not([type="range"]),
  textarea,
  select {
    font-size: inherit !important;
  }
}

/* ── 2. Минимальный touch-target 44px ────────────────────────────────── */
.btn,
.btn-primary,
.btn-outline-primary,
.btn-modal-submit,
.btn-header-cta,
.header-phone,
.pricing-tab-btn,
.calc-btn-next,
.calc-btn-prev,
.nav-link-custom,
.back-to-top,
.form-control,
.form-select {
  min-height: 44px;
}
.form-check-input {
  width: 20px !important;
  height: 20px !important;
  cursor: pointer;
}

/* ── 3. Hero carousel — dvh вместо vh (учитывает chrome браузера) ────── */
@supports (min-height: 100dvh) {
  #carouselId,
  #carouselId .carousel-item,
  #carouselId .carousel-item img {
    min-height: 100dvh;
    max-height: 100dvh;
  }
}
@media (max-width: 575px) {
  #carouselId,
  #carouselId .carousel-item,
  #carouselId .carousel-item img {
    min-height: 92vh;
    max-height: 92vh;
  }
  /* Уменьшаем текст в карусели */
  #carouselId .carousel-caption h1,
  #carouselId .carousel-caption h5 {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
    line-height: 1.25;
  }
  #carouselId .carousel-caption p {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  #carouselId .carousel-caption .btn {
    font-size: 0.875rem;
    padding: 10px 20px;
  }
}

/* ── 4. Page Header — масштаб на мобиле ─────────────────────────────── */
@media (max-width: 767px) {
  .page-header { padding: 48px 0 !important; }
  .page-header .container { padding-top: 0 !important; padding-bottom: 0 !important; }
  .page-header h1,
  .page-header .display-2 {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    line-height: 1.2;
    margin-bottom: 16px !important;
  }
}
@media (max-width: 480px) {
  .page-header { padding: 36px 0 !important; }
  .page-header .breadcrumb {
    font-size: 0.78rem;
  }
}

/* ── 5. Секции — уменьшаем вертикальный отступ ──────────────────────── */
@media (max-width: 575px) {
  .container-fluid.py-5,
  section.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  .section-header { margin-bottom: 1.5rem !important; }
  .section-title { font-size: clamp(1.35rem, 5.5vw, 1.8rem) !important; }
  .section-desc { font-size: 0.9rem; }
}

/* ── 6. Stats strip — компакт на маленьких экранах ──────────────────── */
@media (max-width: 480px) {
  .stats-strip { padding: 2rem 0 !important; }
  .stats-item  { padding: 6px 4px; }
  .stats-icon  {
    width: 44px; height: 44px;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .stats-value { font-size: 1.55rem !important; }
  .stats-label { font-size: 0.68rem !important; }
  .stats-sub   { font-size: 0.62rem !important; }
}

/* ── 7. Pricing tabs — горизонтальный скролл на мобиле ──────────────── */
.pricing-page-tabs {
  overflow-x: auto;
  flex-wrap: nowrap !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding-bottom: 2px;
}
.pricing-page-tabs::-webkit-scrollbar { display: none; }
.pricing-tab-btn {
  scroll-snap-align: start;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 575px) {
  .pricing-tab-btn {
    padding: 10px 16px !important;
    font-size: 0.82rem !important;
  }
}

/* ── 8. Calculator wizard — мобильная адаптация ─────────────────────── */
@media (max-width: 575px) {
  .calc-body { padding: 20px 16px !important; }
  .calc-step-tab {
    min-width: 80px !important;
    padding: 12px 8px !important;
    font-size: 0.72rem !important;
  }
  .calc-step-tab .step-num {
    width: 20px !important; height: 20px !important;
    font-size: 0.68rem !important;
  }
  .option-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .option-card {
    padding: 12px 8px !important;
    border-radius: 10px !important;
  }
  .option-card .opt-icon { font-size: 1.4rem !important; }
  .option-card .opt-label { font-size: 0.75rem !important; }
  .calc-btn-next, .calc-btn-prev {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
  }
  /* Кнопки калькулятора — полная ширина */
  .d-flex.gap-3.mt-4 {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .calc-btn-prev { width: 100% !important; }
  .calc-btn-next { width: 100% !important; }
}

/* ── 9. Формы — mobile-friendly ─────────────────────────────────────── */
@media (max-width: 575px) {
  .form-control, .form-select {
    padding: 10px 14px;
    border-radius: 10px;
    min-height: 48px;
  }
  textarea.form-control { min-height: 100px; }
  .btn-modal-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
  }
  /* Форма с несколькими колонками → одна */
  .row.g-3 > [class*="col-md-"],
  .row.g-4 > [class*="col-md-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ── 10. Попапы / Модалки — полноэкранные на мобиле ─────────────────── */
@media (max-width: 480px) {
  .fc-popup-overlay { padding: 0 !important; align-items: flex-end !important; }
  .fc-popup-box {
    border-radius: 20px 20px 0 0 !important;
    padding: 28px 20px 32px !important;
    max-width: 100% !important;
    width: 100% !important;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(40px) !important;
  }
  .fc-popup-show .fc-popup-box { transform: translateY(0) !important; }

  /* Bootstrap модалки */
  .modal-dialog { margin: 0 !important; }
  .modal-content { border-radius: 20px 20px 0 0 !important; }
  .modal .modal-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 !important;
  }
  .modal-custom-v2 .modal-body { padding: 20px 16px 28px !important; }
  .modal-custom-v2 .modal-header { padding: 16px 16px 12px !important; }
}

/* ── 11. Карточки — улучшенный мобильный вид ────────────────────────── */
@media (max-width: 575px) {
  .svc-card, .service-item, .testimonial-card,
  .blog-card, .pricing-plan, .faq-item {
    border-radius: 14px !important;
  }
  .svc-card-body, .testimonial-card { padding: 18px !important; }
}

/* ── 12. Мобильная навигация — улучшения ─────────────────────────────── */
@media (max-width: 992px) {
  .mobile-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .mobile-nav.show {
    max-height: 100vh;
  }
  /* Активная ссылка — заметнее */
  .mobile-nav .nav-link-custom.active {
    background: rgba(14,165,233,0.2) !important;
    color: #38bdf8 !important;
    position: relative;
  }
  .mobile-nav .nav-link-custom.active::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3px;
    background: #0ea5e9;
    border-radius: 2px;
  }
  /* Кнопка заявки — полная ширина */
  .mobile-nav .btn-header-cta {
    width: 100%;
    justify-content: center;
    border-radius: 12px !important;
    padding: 12px !important;
  }
  /* Телефон — заметнее */
  .mobile-nav .header-phone {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fbbf24 !important;
    letter-spacing: 0.3px;
  }
}
@media (max-width: 575px) {
  .mobile-nav.show .nav-menu {
    grid-template-columns: 1fr !important;
  }
  .mobile-nav .nav-link-custom {
    text-align: left !important;
  }
}

/* ── 13. Header — более компактный на мобиле ─────────────────────────── */
@media (max-width: 575px) {
  .header-inner { padding: 10px 0 !important; }
  .logo-icon { font-size: 1.8rem !important; margin-right: 8px !important; }
  .logo-text { font-size: 1.3rem !important; }
  .logo-subtext { display: none !important; }
  .mobile-menu-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
  }
}

/* ── 14. Мобильная адаптация ──────────────────────────────────────────── */
@media (max-width: 400px) {
  .back-to-top { left: 12px !important; bottom: 12px !important; }
}

/* ── 15. Таблицы — горизонтальный скролл ─────────────────────────────── */
.table-responsive,
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 767px) {
  .table th, .table td {
    white-space: nowrap;
    font-size: 0.85rem;
  }
}

/* ── 16. Footer — мобильный лайаут ───────────────────────────────────── */
@media (max-width: 575px) {
  .footer-section { padding: 2rem 0 1rem !important; }
  .footer-section [class*="col-"] { text-align: center; }
  .footer-section ul { padding-left: 0 !important; }
  /* Логотип по центру */
  .footer-section .col-lg-4:first-child { text-align: center; }
  /* Мелкие копирайты */
  .footer-section .col-md-6 { text-align: center !important; }
}

/* ── 17. Типографика — fluid scale ───────────────────────────────────── */
@media (max-width: 575px) {
  h1, .h1 { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; }
  h2, .h2 { font-size: clamp(1.3rem, 5.5vw, 1.8rem) !important; }
  h3, .h3 { font-size: clamp(1.1rem, 4.5vw, 1.4rem) !important; }
  h4, .h4 { font-size: clamp(1rem, 4vw, 1.2rem) !important; }
  p { font-size: 0.9rem; line-height: 1.7; }
}

/* ── 18. Кнопки — полная ширина на мобиле там где нужно ─────────────── */
@media (max-width: 480px) {
  .btn-group-mobile-full .btn {
    width: 100%;
    margin-bottom: 8px;
  }
  /* CTA-кнопки в секциях */
  .section-cta .btn { width: 100%; max-width: 300px; }
}

/* ── 19. Зональные карточки (pricing.html #zones) ────────────────────── */
@media (max-width: 575px) {
  .zone-card { border-radius: 12px !important; }
  .zone-card-body { padding: 16px !important; }
}

/* ── 20. Scroll-to-top кнопка — чуть меньше на малых экранах ─────────── */
@media (max-width: 400px) {
  .back-to-top {
    width: 38px !important;
    height: 38px !important;
    font-size: 13px !important;
  }
}

/* ── 21. Фокус-стили для доступности (клавиатура / touch) ───────────── */
:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 22. Анти-горизонтальный-скролл для широких элементов ───────────── */
@media (max-width: 575px) {
  .container-fluid { padding-left: 16px !important; padding-right: 16px !important; }
  .row { margin-left: -8px !important; margin-right: -8px !important; }
  .row > [class*="col"] { padding-left: 8px !important; padding-right: 8px !important; }
}

/* ── 23. Улучшенное отображение карточек в один столбец ─────────────── */
@media (max-width: 400px) {
  /* На самых маленьких телефонах (iPhone SE) убираем зазоры */
  .g-4 { --bs-gutter-y: 1rem; --bs-gutter-x: 1rem; }
  .g-3 { --bs-gutter-y: 0.75rem; --bs-gutter-x: 0.75rem; }
}

/* ── 25. Теги отраслей в портфолио ──────────────────────────────────── */
.badge-industry {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 600;
  padding: .25em .7em;
  border-radius: 20px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════════
   26. НОВЫЙ УНИФИЦИРОВАННЫЙ ФУТЕР fc-footer
   ══════════════════════════════════════════════════════════════════ */

/* CTA-полоса сверху */
.fc-footer-cta {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  padding: 28px 0;
}
.fc-footer-cta-title { color: #fff; font-weight: 700; font-size: clamp(1.1rem,2vw,1.4rem); }
.fc-footer-cta-sub   { color: rgba(255,255,255,.8); font-size: .9rem; }
.fc-footer-btn-call {
  background: #fff; color: #0d6efd; font-weight: 600;
  border-radius: 50px; padding: 10px 24px; white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.fc-footer-btn-call:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); color: #0d6efd; }
.fc-footer-btn-form {
  background: rgba(255,255,255,.15); color: #fff; font-weight: 600;
  border: 2px solid rgba(255,255,255,.5); border-radius: 50px; padding: 10px 24px; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.fc-footer-btn-form:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); color: #fff; }

/* Основное тело */
.fc-footer-body {
  background: #0f172a;
  padding: 60px 0 40px;
}

/* Бренд */
.fc-footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.5rem; font-weight: 800; color: #fff; text-decoration: none;
  margin-bottom: 16px;
}
.fc-footer-brand:hover { color: #fff; }
.fc-footer-brand-icon { color: #38bdf8; font-size: 1.4rem; }
.fc-footer-brand-accent { color: #38bdf8; }
.fc-footer-desc { color: #94a3b8; font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }

/* Часы работы */
.fc-footer-hours { background: rgba(255,255,255,.05); border-radius: 12px; padding: 14px 16px; margin-bottom: 20px; }
.fc-footer-hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: .85rem; color: #cbd5e1;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.fc-footer-hours-row:last-child { border-bottom: none; padding-bottom: 0; }
.fc-footer-hours-time { font-weight: 600; color: #e2e8f0; }
.fc-footer-hours-emergency .fc-footer-hours-time { font-weight: 700; }

/* Соцсети */
.fc-footer-social { display: flex; gap: 10px; }
.fc-footer-social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  font-size: 1.1rem; text-decoration: none; transition: transform .2s, opacity .2s;
}
.fc-footer-social-btn:hover { transform: translateY(-3px); opacity: .85; }
.fc-footer-social-btn--vk  { background: #4680C2; color: #fff; }
.fc-footer-social-btn--tg  { background: #229ED9; color: #fff; }
.fc-footer-social-btn--max { background: #0077FF; color: #fff; font-size: .8rem; }

/* Заголовки колонок */
.fc-footer-heading {
  color: #38bdf8; font-weight: 700; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 2px solid rgba(56,189,248,.3);
}

/* Ссылки навигации и услуг */
.fc-footer-links { list-style: none; padding: 0; margin: 0; }
.fc-footer-links li { margin-bottom: 9px; }
.fc-footer-links a {
  color: #94a3b8; text-decoration: none; font-size: .875rem;
  display: flex; align-items: center; gap: 7px;
  transition: color .2s, gap .2s;
}
.fc-footer-links a i { color: #38bdf8; font-size: .7rem; flex-shrink: 0; }
.fc-footer-links a:hover { color: #e2e8f0; gap: 10px; }

/* Контакты */
.fc-footer-contacts { list-style: none; padding: 0; margin: 0; }
.fc-footer-contacts li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.fc-footer-contacts li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.fc-footer-contact-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(56,189,248,.15); color: #38bdf8;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0; margin-top: 2px;
}
.fc-footer-contact-label { font-size: .72rem; color: #64748b; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.fc-footer-contact-val { color: #cbd5e1; font-size: .875rem; text-decoration: none; }
a.fc-footer-contact-val:hover { color: #38bdf8; }

/* Нижняя полоса */
.fc-footer-bottom {
  background: #080f1e;
  padding: 16px 0;
  font-size: .8rem;
  color: #475569;
}
.fc-footer-bottom a { color: #64748b; text-decoration: none; }
.fc-footer-bottom a:hover { color: #94a3b8; }
.fc-footer-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.06); color: #64748b;
  font-size: .72rem; padding: 4px 10px; border-radius: 20px;
  margin-left: 6px; border: 1px solid rgba(255,255,255,.08);
}

/* Мобильная адаптация */
@media (max-width: 767px) {
  .fc-footer-body { padding: 40px 0 24px; }
  .fc-footer-cta .d-flex { justify-content: center !important; }
  .fc-footer-brand { font-size: 1.25rem; }
  .fc-footer-badge { margin: 2px; }
}

/* ══════════════════════════════════════════════════════════════════
   27. HERO CAROUSEL fc-hero
   ══════════════════════════════════════════════════════════════════ */

.fc-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}
@supports (height: 100dvh) {
  .fc-hero { height: 100dvh; }
}

/* Слайды */
.fc-hero-carousel { position: relative; width: 100%; height: 100%; }

.fc-hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity .9s ease;
  display: flex; align-items: stretch;
  will-change: opacity;
}
.fc-hero-slide--active { opacity: 1; z-index: 2; }
.fc-hero-slide--exit   { opacity: 0; z-index: 1; }

/* Оверлеи */
.fc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(8,15,40,.82) 0%, rgba(10,30,80,.65) 50%, rgba(4,10,25,.5) 100%);
}
.fc-hero-overlay--emergency {
  background: linear-gradient(125deg, rgba(40,8,8,.85) 0%, rgba(80,15,15,.65) 50%, rgba(20,5,5,.5) 100%);
}
.fc-hero-overlay--service {
  background: linear-gradient(125deg, rgba(4,25,20,.85) 0%, rgba(8,50,35,.65) 50%, rgba(3,15,10,.5) 100%);
}

/* Снежинки */
.fc-hero-snowflakes {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}
.fc-hero-snowflakes span {
  position: absolute; top: -30px; color: rgba(255,255,255,.25);
  animation: heroSnow linear infinite;
}
@keyframes heroSnow {
  0%   { transform: translateY(-30px) rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* Контент */
.fc-hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  height: 100%; padding: 100px 0 80px;
  max-width: 700px;
}

/* Бейдж */
.fc-hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(56,189,248,.2); color: #7dd3fc;
  border: 1px solid rgba(56,189,248,.4);
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 50px;
  margin-bottom: 20px; width: fit-content;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s .1s, transform .6s .1s;
}

/* Заголовок */
.fc-hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800; line-height: 1.12; color: #fff;
  margin-bottom: 20px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s .25s, transform .65s .25s;
}
.fc-hero-accent { color: #38bdf8; }

/* Подзаголовок */
.fc-hero-subtitle {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.8); line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0; transform: translateY(25px);
  transition: opacity .65s .4s, transform .65s .4s;
}

/* Доверие-иконки */
.fc-hero-trust {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  margin-bottom: 32px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s .5s, transform .65s .5s;
}
.fc-hero-trust-item {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
}
.fc-hero-trust-item i { font-size: 1rem; }

/* Кнопки */
.fc-hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s .6s, transform .65s .6s;
}
.fc-hero-btn-primary {
  background: #0d6efd; border-color: #0d6efd; color: #fff;
  border-radius: 50px; padding: 14px 32px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(13,110,253,.4);
  transition: transform .2s, box-shadow .2s;
}
.fc-hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(13,110,253,.5); color: #fff; }
.fc-hero-btn-secondary {
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.4);
  color: #fff; border-radius: 50px; padding: 12px 28px; font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.fc-hero-btn-secondary:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); color: #fff; }

/* Анимация активного слайда */
.fc-hero-slide--active .animate-on-active { opacity: 1; transform: translateY(0); }

/* Стрелки */
.fc-hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.3);
  color: #fff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .2s;
  backdrop-filter: blur(6px);
}
.fc-hero-nav:hover { background: rgba(255,255,255,.25); transform: translateY(-50%) scale(1.08); }
.fc-hero-nav--prev { left: 24px; }
.fc-hero-nav--next { right: 24px; }

/* Точки */
.fc-hero-dots {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 10px;
}
.fc-hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: background .3s, transform .3s;
}
.fc-hero-dot--active { background: #fff; transform: scale(1.3); }

/* Прогресс-бар */
.fc-hero-progress {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 10;
  height: 3px; background: rgba(255,255,255,.15);
}
.fc-hero-progress-bar {
  height: 100%; background: #38bdf8;
  width: 0; transition: width linear;
}

/* Мобильные правки */
@media (max-width: 767px) {
  .fc-hero { min-height: 520px; max-height: 700px; }
  .fc-hero-content { padding: 90px 0 60px; }
  .fc-hero-nav { width: 40px; height: 40px; font-size: .9rem; }
  .fc-hero-nav--prev { left: 12px; }
  .fc-hero-nav--next { right: 12px; }
  .fc-hero-dots { bottom: 36px; }
  .fc-hero-trust { gap: 8px 16px; }
  .fc-hero-btn-primary, .fc-hero-btn-secondary { padding: 12px 22px; font-size: .9rem; }
}

/* ══════════════════════════════════════════════════════════════════
   28. КОНТАКТ-ПАНЕЛЬ (всегда открыта, правый край)
   ══════════════════════════════════════════════════════════════════ */
.fc-contact-bar {
  position: fixed;
  right: 0;
  bottom: 120px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  box-shadow: -4px 4px 24px rgba(0,0,0,.25);
}

.fc-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  padding: 12px 0 10px;
  text-decoration: none;
  color: #fff;
  transition: filter .2s, width .2s;
  gap: 4px;
}
.fc-contact-btn:hover {
  color: #fff;
  filter: brightness(1.15);
  width: 68px;
}

.fc-contact-icon { font-size: 1.3rem; line-height: 1; }
.fc-contact-label { font-size: .58rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }

.fc-contact-btn--phone { background: #0d6efd; }
.fc-contact-btn--max   { background: #0077FF; }
.fc-contact-btn--tg    { background: #229ED9; }

/* Разделители между кнопками */
.fc-contact-btn + .fc-contact-btn {
  border-top: 1px solid rgba(255,255,255,.15);
}

/* Мобильные: чуть компактнее */
@media (max-width: 767px) {
  .fc-contact-bar { bottom: 80px; }
  .fc-contact-btn { width: 52px; padding: 10px 0 8px; }
  .fc-contact-btn:hover { width: 52px; }
  .fc-contact-icon { font-size: 1.15rem; }
  .fc-contact-label { font-size: .52rem; }
}


/* ══════════════════════════════════════════════════════════════════
   29. PAGE HEADER — улучшенная шапка внутренних страниц
   ══════════════════════════════════════════════════════════════════ */
.page-header {
  position: relative;
  background:
    linear-gradient(135deg, rgba(8,15,40,.88) 0%, rgba(12,30,80,.75) 55%, rgba(4,20,50,.65) 100%),
    url(../img/carousel-1.jpg) center center / cover no-repeat;
  min-height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 !important;
}

/* Декоративные снежинки */
.page-header::before {
  content: '❄ ❆ ❅ ❄ ❆';
  position: absolute;
  top: 18px; right: 32px;
  font-size: 1.1rem;
  color: rgba(56,189,248,.18);
  letter-spacing: 14px;
  pointer-events: none;
  white-space: nowrap;
}

/* Светящаяся линия снизу */
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #38bdf8 30%, #0d6efd 70%, transparent 100%);
}

/* Внутренний контент */
.page-header .container {
  position: relative;
  z-index: 2;
  padding-top: 80px !important;
  padding-bottom: 52px !important;
}

/* Заголовок */
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -.02em;
  margin-bottom: 16px !important;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}

/* Цветной акцент под заголовком */
.page-header h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8, #0d6efd);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* Breadcrumb */
.page-header .breadcrumb {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px;
  padding: 8px 20px !important;
  display: inline-flex !important;
  margin: 0 auto;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: .875rem !important;
  font-weight: 500;
  color: rgba(255,255,255,.8) !important;
  text-decoration: none;
  transition: color .2s;
}
.page-header .breadcrumb-item a:hover { color: #38bdf8 !important; }
.page-header .breadcrumb-item.active { color: #7dd3fc !important; }
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.4) !important;
  content: '/' !important;
}

/* Маленький бейдж над заголовком */
.page-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56,189,248,.2);
  border: 1px solid rgba(56,189,248,.4);
  color: #7dd3fc;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .page-header { min-height: 200px; }
  .page-header .container { padding-top: 70px !important; padding-bottom: 36px !important; }
  .page-header::before { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   30. КОНТАКТ-ПАНЕЛЬ v3 — floating glass pills
   ══════════════════════════════════════════════════════════════════ */

/* Контейнер — свободно плавающий справа */
.fc-contact-bar {
  position: fixed;
  right: 18px;
  bottom: 110px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* сброс старых стилей */
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

/* Убрать левую полосу-акцент */
.fc-contact-bar::before {
  display: none;
}

/* Каждая кнопка — горизонтальная стеклянная пилюля */
.fc-contact-btn {
  position: relative;
  display: flex;
  flex-direction: row; /* перекрываем column из секции 28 */
  align-items: center;
  justify-content: flex-start; /* перекрываем center из секции 28 */
  gap: 12px;
  width: auto;
  padding: 8px 18px 8px 8px;
  border-radius: 50px;
  background: rgba(8, 18, 48, 0.80) !important; /* перекрываем flat-цвета секции 28 */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.07) inset;
  color: #fff;
  text-decoration: none;
  overflow: visible;
  transition:
    transform .3s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .3s ease,
    background .3s ease;
}

/* Убрать gloss overlay от v2 */
.fc-contact-btn::before {
  display: none;
}

.fc-contact-btn:hover {
  color: #fff;
  width: auto;
  filter: none;
  transform: translateX(-7px) scale(1.04);
  background: rgba(12, 26, 70, 0.92) !important;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.fc-contact-btn + .fc-contact-btn {
  border-top: none;
}

/* Иконка — цветной круг */
.fc-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.fc-contact-btn:hover .fc-contact-icon {
  transform: scale(1.14) rotate(-6deg);
}

.fc-contact-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

/* Цвета иконок */
.fc-contact-btn--phone .fc-contact-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.55);
}
.fc-contact-btn--max .fc-contact-icon {
  background: none;
  box-shadow: none;
}
.fc-contact-btn--max .fc-contact-icon img {
  filter: none;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
}
.fc-contact-btn--tg .fc-contact-icon {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.45);
}

/* Текст */
.fc-contact-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1;
  opacity: .90;
  white-space: nowrap;
}

/* Пульсирующий зелёный индикатор «онлайн» на кнопке звонка */
.fc-contact-btn--phone::after {
  content: '';
  position: absolute;
  top: 9px;
  right: 14px;
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.65);
  animation: contactPulse 2s infinite;
}
@keyframes contactPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.65); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

@media (max-width: 767px) {
  .fc-contact-bar {
    right: 10px;
    bottom: 80px;
    gap: 8px;
  }
  .fc-contact-btn {
    padding: 7px 14px 7px 7px;
    gap: 10px;
  }
  .fc-contact-btn:hover {
    transform: none;
  }
  .fc-contact-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .fc-contact-icon img { width: 18px; height: 18px; }
  .fc-contact-label { font-size: .6rem; }
}

/* ══════════════════════════════════════════════════════════════════
   31. СЕКЦИЯ ГАРАНТИЙ — fc-guarantees
   ══════════════════════════════════════════════════════════════════ */
.fc-guarantees {
  background: linear-gradient(135deg, #060e26 0%, #0b1d54 55%, #060e26 100%);
  position: relative;
  overflow: hidden;
}

/* Декоративные снежинки-фон */
.fc-guarantees::before {
  content: '❄';
  position: absolute;
  top: -60px; right: -40px;
  font-size: 320px;
  color: rgba(56,189,248,.04);
  pointer-events: none;
  line-height: 1;
}
.fc-guarantees::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8 30%, #0d6efd 70%, transparent);
}

/* Бейдж */
.fc-guarantees-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(56,189,248,.12);
  border: 1px solid rgba(56,189,248,.30);
  color: #7dd3fc;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

/* Заголовок */
.fc-guarantees-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

/* Подзаголовок */
.fc-guarantees-sub {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Статистика */
.fc-gstat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1;
}
.fc-gstat-unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: #7dd3fc;
  margin-left: 2px;
}
.fc-gstat-label {
  font-size: .68rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: 5px;
  line-height: 1.3;
}

/* CTA кнопка */
.fc-guarantees-cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #0ea5e9 0%, #0d6efd 100%);
  color: #fff !important;
  border-radius: 50px;
  padding: 13px 30px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(13,110,253,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fc-guarantees-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(13,110,253,.50);
}

/* Карточки гарантий */
.fc-guarantee-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  transition: background .3s, border-color .3s, transform .3s cubic-bezier(.34,1.56,.64,1);
}
.fc-guarantee-card:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(56,189,248,.28);
  transform: translateY(-3px);
}

/* Иконка */
.fc-guarantee-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: #fff;
}

/* Цвета иконок */
.fc-gi--blue   { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.fc-gi--amber  { background: linear-gradient(135deg, #f59e0b, #d97706); }
.fc-gi--green  { background: linear-gradient(135deg, #10b981, #059669); }
.fc-gi--sky    { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.fc-gi--purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.fc-gi--teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); }

/* Тело карточки */
.fc-guarantee-body { flex: 1; min-width: 0; }

.fc-guarantee-title {
  font-size: .95rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 6px;
  line-height: 1.3;
}

.fc-guarantee-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  margin: 0;
  line-height: 1.6;
}

/* Stat-блок */
.fc-gstat { display: flex; flex-direction: column; }

/* Адаптив карточек */
@media (max-width: 575px) {
  .fc-guarantee-card { padding: 16px; gap: 12px; }
  .fc-guarantee-icon { width: 42px; height: 42px; font-size: 1rem; }
  .fc-guarantee-title { font-size: .9rem; }
}

.fc-footer-social-btn--gis { background: #1EA34B; }
.fc-footer-social-btn--gis:hover { background: #17832d; }
