* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #004999;
    --accent-color: #ff9800;
    --call-red: #e53e3e;
    --call-red-dark: #c53030;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.header-location {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.logo {
  display: flex;
  align-items: center; /* центрируем всё по вертикали */
  gap: 0.75rem;
  height: 70px;
}

.logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  vertical-align: middle;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    caret-color: transparent;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-whatsapp {
    background: var(--success);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    animation: pulse-green 4s infinite 2s;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    margin-left: 2rem;
    white-space: nowrap; /* ← ДОБАВИТЬ */
}

.btn-whatsapp:hover {
    background: #059669;
    transform: scale(1.05);
}

/* Red Pulsing Call Button - WHITE TEXT */
.btn-call-pulse {
    background: var(--call-red);
    color: var(--white) !important;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    animation: pulse 4s infinite;
    box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(229, 62, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
    }
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.btn-call-pulse:hover {
    background: var(--call-red-dark);
    transform: scale(1.05);
    color: var(--white) !important;
}

.btn-call-header {
    background: var(--call-red);
    color: var(--white) !important;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.btn-call-header:hover {
    background: var(--call-red-dark);
    color: var(--white) !important;
}

.btn-call-header--small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    line-height: 1;
    font-size: 15px;
    white-space: nowrap; /* ← ДОБАВИТЬ */
}

.btn-call-contact {
    background: var(--call-red);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    animation: pulse 2s infinite;
}

.btn-call-contact:hover {
    background: var(--call-red-dark);
    color: var(--white) !important;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section - Split Design */
.hero {
    background: var(--white);
    padding: 0;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    align-items: center;
}

.hero-left {
    padding: 4rem 3rem 4rem 5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--call-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: blink 2s infinite;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.feature-icon {
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.location-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
}

.location-wrapper {
    display: flex;
    animation: marquee 20s linear infinite;
    gap: 2rem;
}

.location-text {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.hero-right {  
  position: relative;  
  height: 100%;  
  min-height: 600px;  
  overflow: hidden;  
}  
  
/* Карусель */  
.hero-carousel {  
  position: relative;  
  width: 100%;  
  height: 100%;  
  overflow: hidden;  
}  
  
/* Слайды */  
.carousel-slides {  
  position: relative;  
  width: 100%;  
  height: 100%;  
}  
  
.carousel-slide {  
  position: absolute;  
  top: 0;  
  left: 0;  
  width: 100%;  
  height: 100%;  
  opacity: 0;  
  transition: opacity 0.6s ease-in-out;  
}  
  
.carousel-slide.active {  
  opacity: 1;  
}  
  
.carousel-slide img,  
.carousel-slide video {  
  width: 100%;  
  height: 100%;  
  object-fit: cover;  
  object-position: center;  
  display: block;  
}  
  
.carousel-video {  
  width: 100%;  
  height: 100%;  
  object-fit: cover;  
}  
  
/* Стрелки */  
.carousel-arrow {  
  position: absolute;  
  top: 50%;  
  transform: translateY(-50%);  
  background: rgba(0, 0, 0, 0.5);  
  color: white;  
  border: none;  
  width: 50px;  
  height: 50px;  
  border-radius: 50%;  
  font-size: 24px;  
  cursor: pointer;  
  z-index: 10;  
  transition: background 0.3s;  
}  
  
.carousel-arrow:hover {  
  background: rgba(0, 0, 0, 0.8);  
}  
  
.carousel-arrow.prev {  
  left: 20px;  
}  
  
.carousel-arrow.next {  
  right: 20px;  
}  
  
/* Точки */  
.carousel-dots {  
  position: absolute;  
  bottom: 20px;  
  left: 0;  
  right: 0;  
  display: flex;  
  justify-content: center;  
  gap: 10px;  
  z-index: 10;  
}  
  
.carousel-dots button {  
  width: 12px;  
  height: 12px;  
  border-radius: 50%;  
  background: rgba(255, 255, 255, 0.5);  
  border: none;  
  cursor: pointer;  
  transition: background 0.3s;  
}  
  
.carousel-dots button.active,  
.carousel-dots button:hover {  
  background: white;  
}  
  
/* === ADJUST LEFT COLUMN WIDTH === */  
  
@media (min-width: 769px) {  
  .hero-split {  
    display: grid !important;  
    grid-template-columns: 45% 55% !important; /* <-- Уменьшаем левую колонку */  
    min-height: 600px !important;  
    align-items: stretch !important;  
  }  
  
  .hero-left {  
    display: flex !important;  
    flex-direction: column !important;  
    justify-content: center !important;  
    padding: 3rem 2rem !important; /* немного уменьшаем padding справа */  
    height: 100% !important;  
    min-height: 600px !important;  
  }  
  
  .hero-right {  
    position: relative !important;  
    overflow: hidden !important;  
    height: 100% !important;  
    min-height: 600px !important;  
  }  
  
  .hero-overlay-badge {  
    position: absolute !important;  
    bottom: 2rem !important;  
    left: 2rem !important;  
  }  
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-image {  
    width: 100%;  
    height: 100%;  
    object-fit: cover;  
    border-radius: 12px;  
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);  
    cursor: pointer;  
}  
  
/* Для фото — добавляем осветление */  
.service-media-slide[data-type="image"]:hover .service-image {  
    transform: scale(1.08);  
    filter: brightness(1.1);  
}  
  
/* Для видео — только зум (без фильтров для производительности) */  
.service-media-slide[data-type="video"]:hover .service-image {  
    transform: scale(1.08);  
}

.service-content {
    padding: 2rem;
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

css
Copy
/* ===== Мини-карусель в сервисах ===== */  
  
.service-card {  
    position: relative;  
    display: flex;  
    flex-direction: column;  
    background: #fff;  
    border-radius: 12px;  
    overflow: hidden;  
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  
    transition: transform 0.3s ease, box-shadow 0.3s ease;  
}  
  
.service-card:hover {  
    transform: translateY(-5px);  
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);  
}  
  
/* Контейнер медиа */  
.service-media-slider {  
    position: relative;  
    width: 100%;  
    height: 220px;  
    overflow: hidden;  
    background: #000;  
}  
  
/* Слайды */  
.service-media-slide {  
    position: absolute;  
    top: 0;  
    left: 0;  
    width: 100%;  
    height: 100%;  
    opacity: 0;  
    visibility: hidden;  
    transition: opacity 0.4s ease, visibility 0.4s ease;  
    pointer-events: none;  
}  
  
.service-media-slide.active {  
    opacity: 1;  
    visibility: visible;  
    pointer-events: auto;  
}  
  
/* Медиа внутри */  
.service-media-slide img,  
.service-media-slide video {  
    width: 100%;  
    height: 100%;  
    object-fit: cover;  
    display: block;  
}  
  
/* Wrapper для ленивого видео */  
.service-video-wrapper {  
    width: 100%;  
    height: 100%;  
    background: #000;  
    position: relative;  
}  
  
.service-video-wrapper img {  
    width: 100%;  
    height: 100%;  
    object-fit: cover;  
}  
  
/* Стрелки — по центру по вертикали */  
.service-media-arrow {  
    position: absolute;  
    top: 50%;  
    transform: translateY(-50%);  
    width: 40px;  
    height: 40px;  
    border-radius: 50%;  
    border: none;  
    background: rgba(15, 23, 42, 0.75);  
    color: #fff;  
    cursor: pointer;  
    display: flex;  
    align-items: center;  
    justify-content: center;  
    padding: 0;  
    z-index: 10;  
    backdrop-filter: blur(6px);  
    -webkit-backdrop-filter: blur(6px);  
    transition: all 0.25s ease;  
}  
  
.service-media-prev {  
    left: 12px;  
}  
  
.service-media-next {  
    right: 12px;  
}  
  
.service-media-arrow-icon {  
    font-size: 26px;  
    line-height: 1;  
    display: block;  
    font-weight: 300;  
}  
  
/* Hover/Focus */  
.service-media-arrow:hover {  
    background: rgba(15, 23, 42, 0.95);  
    transform: translateY(-50%) scale(1.15);  
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);  
}  
  
.service-media-arrow:active {  
    transform: translateY(-50%) scale(0.95);  
}  
  
.service-media-arrow:focus {  
    outline: 2px solid #3b82f6;  
    outline-offset: 2px;  
}  
  
/* Контент карточки */  
.service-content {  
    padding: 1.5rem;  
    text-align: center;  
}  
  
.service-content h3 {  
    font-size: 1.25rem;  
    margin-bottom: 0.75rem;  
    color: #1e293b;  
}  
  
.service-content p {  
    font-size: 0.95rem;  
    color: #64748b;  
    line-height: 1.6;  
}  
  
/* Убираем старые иконки эмодзи, если были */  
.service-content .service-icon {  
    display: none;  
}  
  
/* Мобильные */  
@media (max-width: 768px) {  
    .service-media-slider {  
        height: 200px;  
    }  
      
    .service-media-arrow {  
        width: 36px;  
        height: 36px;  
    }  
      
    .service-media-arrow-icon {  
        font-size: 22px;  
    }  
}  
  
@media (max-width: 480px) {  
    .service-media-slider {  
        height: 180px;  
    }  
      
    .service-media-arrow {  
        width: 32px;  
        height: 32px;  
    }  
      
    .service-media-arrow-icon {  
        font-size: 20px;  
    }  
      
    .service-content {  
        padding: 1rem;  
    }  
      
    .service-content h3 {  
        font-size: 1.1rem;  
    }  
      
    .service-content p {  
        font-size: 0.9rem;  
    }  
}  


/* About Section */
.about {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.about-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    min-width: 50px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item p {
    color: var(--text-light);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* Google Maps Section */
.map-section {
    padding: 5rem 0 0 0;
    background: var(--white);
}

.map-container {
    width: 100%;
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    caret-color: transparent;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
}

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

/* ============================================
   FLOATING BUTTONS (Call + WhatsApp)
   Только на мобильных и после прокрутки
   ============================================ */

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100px);
  transition: all 0.4s ease;
  pointer-events: none;
}

/* Показываем кнопки только когда прокрутили */
.floating-buttons.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: all;
}

/* СКРЫВАЕМ НА ДЕСКТОПЕ */
@media (min-width: 769px) {
  .floating-buttons {
    display: none !important;
  }
}

/* ПОКАЗЫВАЕМ ТОЛЬКО НА МОБИЛЬНЫХ */
@media (max-width: 768px) {
  .floating-buttons {
    display: flex;
  }
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  cursor: pointer;
  position: relative;
}

/* Анимация появления только когда visible */
.floating-buttons.visible .floating-btn {
  animation: bounceIn 0.8s ease-out;
}

/* Анимация появления с отскоком */
@keyframes bounceIn {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(20deg);
  }
  70% {
    transform: scale(0.9) rotate(-10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Эффект при наведении */
.floating-btn:hover {
  transform: scale(1.2) rotate(15deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.floating-btn:active {
  transform: scale(0.95);
}

/* Кнопка звонка - красный фон */
.floating-btn-call {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
}

.floating-buttons.visible .floating-btn-call {
  animation: bounceIn 0.8s ease-out, pulse-float 2s infinite 1s;
  animation-delay: 0s, 0.8s;
}

/* Белая трубка внутри С ЭФФЕКТОМ ЗВОНКА */
.floating-btn-call::before {
  content: '📞';
  filter: brightness(0) invert(1);
  font-size: 1.8rem;
  display: inline-block;
}

.floating-buttons.visible .floating-btn-call::before {
  animation: phoneRinging 7s ease-in-out infinite 2s;
}

/* Анимация звонка: 3 звонка по 0.6 сек + паузы */
@keyframes phoneRinging {
  /* Первый звонок (0-0.6 сек) */
  0%, 1% { transform: rotate(0deg); }
  2% { transform: rotate(-20deg); }
  3% { transform: rotate(20deg); }
  4% { transform: rotate(-20deg); }
  5% { transform: rotate(20deg); }
  6% { transform: rotate(-20deg); }
  7% { transform: rotate(20deg); }
  8%, 8.57% { transform: rotate(0deg); }

  /* Пауза 0.3 сек */
  8.58%, 12.86% { transform: rotate(0deg); }

  /* Второй звонок (0.9-1.5 сек) */
  12.87% { transform: rotate(0deg); }
  13% { transform: rotate(-20deg); }
  14% { transform: rotate(20deg); }
  15% { transform: rotate(-20deg); }
  16% { transform: rotate(20deg); }
  17% { transform: rotate(-20deg); }
  18% { transform: rotate(20deg); }
  19%, 21.43% { transform: rotate(0deg); }

  /* Пауза 0.3 сек */
  21.44%, 25.71% { transform: rotate(0deg); }

  /* Третий звонок (1.8-2.4 сек) */
  25.72% { transform: rotate(0deg); }
  26% { transform: rotate(-20deg); }
  27% { transform: rotate(20deg); }
  28% { transform: rotate(-20deg); }
  29% { transform: rotate(20deg); }
  30% { transform: rotate(-20deg); }
  31% { transform: rotate(20deg); }
  32%, 34.29% { transform: rotate(0deg); }

  /* Длинная пауза 4.6 сек */
  34.3%, 100% { transform: rotate(0deg); }
}

/* Пульсирующие волны для кнопки звонка */
.floating-btn-call::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(229, 62, 62, 0.4);
  z-index: -1;
  opacity: 0;
}

.floating-buttons.visible .floating-btn-call::after {
  animation: ripple 2s infinite;
  opacity: 1;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Анимация пульсации */
@keyframes pulse-float {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.8), 0 0 30px rgba(229, 62, 62, 0.4);
  }
}

/* Кнопка WhatsApp - зелёный фон */
.floating-btn-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.floating-buttons.visible .floating-btn-whatsapp {
  animation: bounceIn 0.8s ease-out 0.2s backwards;
}

/* Иконка WhatsApp */
.floating-btn-whatsapp::before {
  content: '💬';
  font-size: 1.8rem;
}

/* Эффект "покачивания" при наведении на WhatsApp */
.floating-btn-whatsapp:hover {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg) scale(1.1); }
  25% { transform: rotate(-10deg) scale(1.15); }
  75% { transform: rotate(10deg) scale(1.15); }
}

/* Адаптация для планшетов и мобильных */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .floating-btn {
    width: 65px;
    height: 65px;
    font-size: 2rem;
  }

  .floating-btn-call::before,
  .floating-btn-whatsapp::before {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .floating-buttons {
    bottom: 12px;
    right: 12px;
    gap: 10px;
  }

  .floating-btn {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .floating-btn-call::before,
  .floating-btn-whatsapp::before {
    font-size: 1.8rem;
  }
}

@media (max-width: 360px) {
  .floating-buttons {
    bottom: 10px;
    right: 10px;
    gap: 8px;
  }

  .floating-btn {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }

  .floating-btn-call::before,
  .floating-btn-whatsapp::before {
    font-size: 1.6rem;
  }
}
/* ===== Lightbox Modal ===== */  
.lightbox {  
    display: none;  
    position: fixed;  
    z-index: 9999;  
    left: 0;  
    top: 0;  
    width: 100%;  
    height: 100%;  
    background-color: rgba(0, 0, 0, 0.95);  
    animation: fadeIn 0.3s ease;  
}  
  
.lightbox.active {  
    display: flex;  
    align-items: center;  
    justify-content: center;  
}  
  
@keyframes fadeIn {  
    from { opacity: 0; }  
    to { opacity: 1; }  
}  
  
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
  
.lightbox-media {  
    max-width: 100%;  
    max-height: 90vh;  
    object-fit: contain;  
    border-radius: 8px;  
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);  
    animation: zoomIn 0.3s ease;  
}  
  
@keyframes zoomIn {  
    from { transform: scale(0.8); opacity: 0; }  
    to { transform: scale(1); opacity: 1; }  
}  
  
.lightbox-close {  
    position: absolute;  
    top: 20px;  
    right: 40px;  
    color: #fff;  
    font-size: 50px;  
    font-weight: bold;  
    cursor: pointer;  
    z-index: 10000;  
    transition: color 0.3s ease;  
    line-height: 1;  
}  
  
.lightbox-close:hover {  
    color: #0066cc;  
}  
  
.lightbox-prev,  
.lightbox-next {  
    position: absolute;  
    top: 50%;  
    transform: translateY(-50%);  
    background: rgba(255, 255, 255, 0.2);  
    color: white;  
    border: none;  
    font-size: 40px;  
    padding: 20px 25px;  
    cursor: pointer;  
    border-radius: 8px;  
    transition: all 0.3s ease;  
    z-index: 10000;  
    backdrop-filter: blur(10px);  
}  
  
.lightbox-prev:hover,  
.lightbox-next:hover {  
    background: rgba(0, 102, 204, 0.8);  
    transform: translateY(-50%) scale(1.1);  
}  
  
.lightbox-prev {  
    left: 30px;  
}  
  
.lightbox-next {  
    right: 30px;  
}  
  
/* Мобильная версия */  
@media (max-width: 768px) {  
    .lightbox-close {  
        top: 10px;  
        right: 15px;  
        font-size: 40px;  
    }  
      
    .lightbox-prev,  
    .lightbox-next {  
        font-size: 30px;  
        padding: 15px 20px;  
    }  
      
    .lightbox-prev {  
        left: 10px;  
    }  
      
    .lightbox-next {  
        right: 10px;  
    }  
      
    .lightbox-content {  
        max-width: 95%;  
        max-height: 85%;  
    }  
}
/* Credentials Section */  
.credentials-section {  
  padding: 40px 20px;  
  background: #f9f9f9;  
  text-align: center;  
}  
  
.credentials-section h2 {  
  font-size: 2.5rem;  
  margin-bottom: 30px;  
  color: #333333; 
  font-weight: 700;  
}
  
.credentials-cards {  
  display: flex;  
  flex-wrap: wrap;  
  justify-content: center;  
  gap: 20px;  
}  
  
.credential-card {  
  background: white;  
  border-radius: 12px;  
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);  
  padding: 25px 20px;  
  width: 240px;  
  cursor: pointer;  
  transition: transform 0.3s ease, box-shadow 0.3s ease;  
  user-select: none;  
}  
  
.credential-card:hover {  
  transform: translateY(-8px);  
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);  
}  
  
.credential-card h3 {  
  margin-bottom: 12px;  
  color: #004a99;  
  font-size: 1.25rem;  
}  
  
.credential-card p {  
  color: #555;  
  font-size: 0.95rem;  
  line-height: 1.4;  
}  
  
/* Modal Styles */  
.modal {  
  display: none;  
  position: fixed;  
  z-index: 10000;  
  left: 0; top: 0;  
  width: 100%; height: 100%;  
  background: rgba(0,0,0,0.7);  
  align-items: center;  
  justify-content: center;  
  padding: 20px;  
}  
  
.modal.active {  
  display: flex;  
}  
  
.modal-content {  
  background: white;  
  border-radius: 12px;  
  max-width: 90%;  
  max-height: 90%;  
  overflow: auto;  
  padding: 20px;  
  position: relative;  
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);  
}  
  
.modal-close {  
  position: absolute;  
  top: 15px; right: 20px;  
  font-size: 32px;  
  font-weight: bold;  
  cursor: pointer;  
  color: #333;  
  transition: color 0.3s ease;  
  user-select: none;  
}  
  
.modal-close:hover {  
  color: #0066cc;  
}  
  
.modal-body img {  
  max-width: 100%;  
  border-radius: 8px;  
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);  
  user-select: none;  
}  
  
/* Responsive */  
@media (max-width: 600px) {  
  .credentials-cards {  
    flex-direction: column;  
    align-items: center;  
  }  
  
  .credential-card {  
    width: 90%;  
  }  
}
@media (min-width: 769px) {
    .hero-overlay-badge {
        position: absolute !important;
        bottom: 2rem !important;
        left: 2rem !important;
    }
}
.hero-overlay-badge {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
user agent stylesheet
div {
    display: block;
    unicode-bidi: isolate;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}
:root {
    --primary-color: #0066cc;
    --secondary-color: #004999;
    --accent-color: #ff9800;
    --call-red: #e53e3e;
    --call-red-dark: #c53030;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --success: #10b981;
    --error: #ef4444;
}
/* Стрелки карусели hero скрыты по умолчанию */
#heroCarousel .carousel-arrow {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s;
  padding: 0.35rem 0.6rem;
}

/* Показываем стрелки когда карусель имеет класс show-arrows */
#heroCarousel.show-arrows .carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}

/* При наведении стрелки становятся более заметными */
#heroCarousel.show-arrows .carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* На мобильных устройствах стрелки чуть прозрачнее когда показаны */
@media (max-width: 768px) {
  #heroCarousel.show-arrows .carousel-arrow {
    opacity: 0.8;
  }
  
  #heroCarousel.show-arrows .carousel-arrow:hover,
  #heroCarousel.show-arrows .carousel-arrow:active {
    opacity: 1;
  }
}
/* === Mobile tweaks for hero carousel === */  
@media (max-width: 768px) {  
  /* Сетка - один столбец */  
  .hero-split {  
    display: flex !important;  
    flex-direction: column !important;  
  }  
  
  /* Немного уменьшаем высоту hero на мобильных */  
  .hero-right {  
    min-height: 320px !important;  
    height: auto !important;  
  }  
  
  /* Делаем слайды мобильными и гарантируем, что медиа не обрезается критично.  
     Сохраняем object-fit:cover, но задаём фиксированную высоту контейнера. */  
  .hero-carousel {  
    height: 320px !important;  
  }  
  
  .carousel-slides,  
  .carousel-slide {  
    height: 100% !important;  
  }  
  
  .carousel-slide img,  
  .carousel-slide video {  
    height: 100% !important;  
    width: 100% !important;  
    object-fit: cover !important;  
    object-position: center center !important;  
    display: block !important;  
  }  
  
  /* Сделаем стрелки крупнее для удобных тапов */  
  #heroCarousel .carousel-arrow {  
    width: 48px !important;  
    height: 48px !important;  
    font-size: 22px !important;  
    line-height: 48px !important;  
    background: rgba(0,0,0,0.45) !important;  
    touch-action: manipulation;  
    -webkit-tap-highlight-color: transparent;  
  }  
  
  /* Увеличим отступ точек и их тап-зону */  
  .carousel-dots {  
    bottom: 12px !important;  
    gap: 8px !important;  
  }  
  .carousel-dots button {  
    width: 12px !important;  
    height: 12px !important;  
  }  
  
  /* Badge - меньшие отступы на мобилке */  
  .hero-overlay-badge {  
    left: 1rem !important;  
    bottom: 1rem !important;  
    padding: 0.9rem 1rem !important;  
    font-size: 0.9rem !important;  
  }  
  
  /* Сделать точки и стрелки хорошо видимыми при показе */  
  #heroCarousel.show-arrows .carousel-arrow {  
    opacity: 0.95 !important;  
  }  
  
  /* Минимизируем автоскрытие hover-логики (на мобилках hover нет) */  
  #heroCarousel .carousel-arrow:hover {  
    background: rgba(0,0,0,0.65) !important;  
  }  
  
  /* Убедимся, что карусель не создаёт горизонтальную прокрутку */  
  .hero-right, .hero-carousel, .carousel-slides { overflow: hidden !important; }  
}