/* ============================================
   TECHNOLOGY PAGE - MODERN DESIGN
   ============================================ */

/* Technology Hero Section */
.tech-hero {
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--gray-100) 100%);
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}

.tech-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/shared/Dental-Implant-head.jpg?v_4") ;
  background-repeat: no-repeat;
	background-size: 50%;
	background-position: center bottom;
  opacity: 0.2;
  pointer-events: none;
}

.tech-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.tech-hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 30, 58, 0.1);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.tech-hero-content h1 {
  font-size: 2.5rem;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.tech-hero-content h1 span {
  color: var(--red);
  position: relative;
  display: inline-block;
}

.tech-hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(196, 30, 58, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.tech-hero-content p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */

.tech-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Technology Grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 32px;
}

/* Technology Card */
.tech-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-light);
}

/* Card Image */
.tech-card__image {
  position: relative;
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.5s ease;
  background: var(--white);
  padding: 16px;
}

.tech-card:hover .tech-card__image img {
  transform: scale(1.02);
}

/* Card Badge */
.tech-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.tech-card:hover .tech-card__badge {
  transform: scale(1.05);
  background: var(--red-dark);
}

/* Card Content */
.tech-card__content {
  padding: 24px;
  flex: 1;
}

.tech-card__content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.tech-subtitle {
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
}

/* Tech Description */
.tech-description {
  margin-bottom: 20px;
}

.tech-description p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 12px;
	text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.tech-description p:last-child {
  margin-bottom: 0;
}

/* Applications & Benefits Lists */
.tech-applications,
.tech-benefits {
  background: var(--gray-100);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 16px 0;
  transition: all 0.3s ease;
}

.tech-card:hover .tech-applications,
.tech-card:hover .tech-benefits {
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.tech-applications h4,
.tech-benefits h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.tech-applications ul,
.tech-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}

.tech-applications ul li,
.tech-benefits ul li {
  font-size: 0.8rem;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.tech-applications ul li:hover,
.tech-benefits ul li:hover {
  color: var(--red);
  transform: translateX(4px);
}

.tech-applications ul li::before,
.tech-benefits ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

/* Feature Tags */
.tech-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.feature-tag {
  background: var(--gray-100);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s ease;
  cursor: default;
}

.feature-tag:hover {
  background: var(--red-light);
  color: var(--red);
  transform: translateY(-2px);
}


/* ============================================
   TECH QUOTE SECTION
   ============================================ */

.tech-quote {
  position: relative;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  padding: 80px 24px;
  text-align: center;
  overflow: hidden;
  margin-top: 60px;
}

.tech-quote-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 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='%23C41E3A' fill-opacity='0.08'%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");
  opacity: 0.15;
  pointer-events: none;
}

.tech-quote-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.tech-quote-content .quote-icon {
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
  font-family: serif;
}

.tech-quote-content blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1100px) {
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 992px) {
  .tech-hero-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .tech-hero {
    padding: 60px 20px;
  }
  
  .tech-hero-content h1 {
    font-size: 2rem;
  }
  
  .tech-hero-content p {
    font-size: 0.9rem;
  }
  
  .tech-section {
    padding: 40px 20px;
  }
  
  .tech-card__image {
    height: 200px;
  }
  
  .tech-card__image img {
    padding: 12px;
  }
  
  .tech-card__content {
    padding: 20px;
  }
  
  .tech-card__content h3 {
    font-size: 1.1rem;
  }
  
  .tech-subtitle {
    font-size: 0.8rem;
  }
  
  .tech-description p {
    font-size: 0.85rem;
  }
  
  .tech-applications ul,
  .tech-benefits ul {
    grid-template-columns: 1fr;
  }
  
  .tech-applications,
  .tech-benefits {
    padding: 14px 16px;
  }
  
  .tech-quote {
    padding: 50px 20px;
    margin-top: 40px;
  }
  
  .tech-quote-content blockquote {
    font-size: 1rem;
  }
  
  .tech-quote-content .quote-icon {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .tech-hero {
    padding: 50px 16px;
  }
  
  .tech-hero-content h1 {
    font-size: 1.6rem;
  }
  
  .tech-hero-content .hero-badge {
    font-size: 0.7rem;
    padding: 4px 12px;
  }
  
  .tech-section {
    padding: 32px 16px;
  }
  
  .tech-card__image {
    height: 180px;
  }
  
  .tech-card__image img {
    padding: 8px;
  }
  
  .tech-card__badge {
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    font-size: 0.6rem;
  }
  
  .tech-card__content {
    padding: 16px;
  }
  
  .tech-card__content h3 {
    font-size: 1rem;
  }
  
  .tech-subtitle {
    font-size: 0.75rem;
  }
  
  .tech-description p {
    font-size: 0.8rem;
  }
  
  .feature-tag {
    font-size: 0.65rem;
    padding: 4px 10px;
  }
  
  .tech-applications ul li,
  .tech-benefits ul li {
    font-size: 0.75rem;
  }
  
  .tech-quote {
    padding: 40px 16px;
    margin-top: 32px;
  }
  
  .tech-quote-content blockquote {
    font-size: 0.9rem;
  }
  
  .tech-quote-content .quote-icon {
    font-size: 1.8rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tech-hero-content,
.tech-card,
.tech-quote {
  animation: fadeInUp 0.6s ease forwards;
}

.tech-card {
  animation-delay: calc(var(--tech-index, 0) * 0.08s);
}

/* Stagger animation for tech cards */
.tech-card:nth-child(1) { --tech-index: 1; }
.tech-card:nth-child(2) { --tech-index: 2; }
.tech-card:nth-child(3) { --tech-index: 3; }
.tech-card:nth-child(4) { --tech-index: 4; }
.tech-card:nth-child(5) { --tech-index: 5; }
.tech-card:nth-child(6) { --tech-index: 6; }

/* Hover effect for images */
.tech-card__image {
  position: relative;
  overflow: hidden;
}

.tech-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tech-card:hover .tech-card__image::after {
  opacity: 1;
}

/* Badge animation */
.tech-card__badge {
  animation: scaleIn 0.4s ease;
}

/* Feature tags hover effect */
.feature-tag {
  cursor: default;
  transition: all 0.2s ease;
}

/* List items hover effect */
.tech-applications ul li,
.tech-benefits ul li {
  transition: all 0.2s ease;
}
@media (max-width: 768px) {
    .tech-applications ul, .tech-benefits ul {
        text-align: left;
        padding-left: 20px; /* чтобы норм были отступы */
    }
}
