/* ========================================
   Stomatologia Konstancin - Modern Dental Website
   ======================================== */

:root {
  --color-primary: #0066cc;
  --color-primary-dark: #004d99;
  --color-primary-light: #3385d6;
  --color-accent: #00a3e0;
  --color-success: #10b981;
  --color-bg: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-gray: #f1f5f9;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-text-muted: #94a3b8;
  --color-border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

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

.btn-white:hover {
  background: var(--color-bg-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-nav {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Top Bar */
.top-bar {
  background: var(--color-primary-dark);
  color: white;
  padding: 10px 0;
  font-size: 0.875rem;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.top-bar-contact {
  display: flex;
  gap: 24px;
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.top-bar-contact a:hover {
  color: var(--color-accent);
}

.top-bar-contact svg {
  width: 16px;
  height: 16px;
}

.top-bar-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar-hours svg {
  width: 16px;
  height: 16px;
}

/* Navbar */
.navbar {
  background: white;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  stroke: var(--color-primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

.logo-location {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  background: var(--color-bg-light);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  z-index: -1;
}

.hero-bg::after {
  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.05'%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");
}

.hero-content {
  max-width: 700px;
  color: white;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 20px;
}

.text-accent {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-features {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 102, 204, 0.1);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* Services Grid */
.services {
  background: var(--color-bg-light);
}

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

.service-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 102, 204, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-content .section-tag {
  margin-bottom: 16px;
}

.why-us-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.why-us-lead {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-us-feature {
  display: flex;
  gap: 16px;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(0, 102, 204, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
}

.why-us-feature h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.why-us-feature p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

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

.stat-card {
  background: var(--color-bg-light);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 80px 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color: white;
}

.cta-content h2 {
  color: white;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-content p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-hours {
  margin-top: 24px;
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Contact Preview */
.contact-preview {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info .section-tag {
  margin-bottom: 16px;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 32px;
}

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

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

.contact-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  margin-top: 4px;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.contact-item small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 60px 0;
  text-align: center;
  color: white;
}

.page-header h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Services Detail */
.services-detail {
  padding: 60px 0;
}

.service-detail-card {
  display: flex;
  gap: 32px;
  padding: 40px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.service-detail-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
}

.service-detail-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.service-detail-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.service-detail-content h4 {
  font-size: 1rem;
  margin: 20px 0 12px;
}

.service-detail-content ul {
  list-style: none;
  padding: 0;
}

.service-detail-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--color-text-light);
}

.service-detail-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.service-note {
  background: rgba(0, 102, 204, 0.1);
  padding: 16px;
  border-radius: var(--radius);
  margin-top: 16px;
}

/* About Content */
.about-content {
  padding: 60px 0;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 20px;
  color: var(--color-primary);
}

.about-text .lead {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.about-feature {
  text-align: center;
  padding: 32px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
}

.about-feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.about-feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-primary);
}

.about-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.about-feature p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Timeline */
.about-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.about-timeline h2 {
  text-align: center;
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: var(--shadow);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.timeline-content h4 {
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--color-text-light);
}

/* Contact Page */
.contact-page {
  padding: 60px 0;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

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

.contact-card {
  background: var(--color-bg-light);
  padding: 28px;
  border-radius: var(--radius-lg);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--color-text-light);
}

.contact-main {
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-main a {
  color: var(--color-text);
}

.contact-secondary {
  color: var(--color-text-light);
  margin-top: 4px;
}

.contact-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.hours-row span:first-child {
  color: var(--color-text-light);
}

.hours-row span:last-child {
  font-weight: 600;
}

.contact-map-full h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.contact-map-full > p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.map-container {
  margin-bottom: 32px;
}

.directions h4 {
  font-size: 1rem;
  margin: 20px 0 12px;
}

.directions ul {
  list-style: none;
  padding: 0;
}

.directions li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--color-text-light);
}

.directions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Footer */
.footer {
  background: var(--color-text);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-brand .logo-icon {
  stroke: white;
}

.footer-brand .logo-name {
  color: white;
}

.footer-brand .logo-location {
  color: var(--color-accent);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

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

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-us-stats {
    order: -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }

  .top-bar-contact {
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    display: flex;
  }

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

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-features {
    flex-direction: column;
    gap: 16px;
  }

  section {
    padding: 60px 0;
  }

  .service-detail-card {
    flex-direction: column;
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .why-us-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 24px;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* ========================================
   New Components Styles
   ======================================== */

/* Nav Social */
.nav-social {
  display: flex;
  gap: 12px;
  margin-left: 16px;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg-light);
  color: var(--color-text-light);
  transition: var(--transition);
}

.nav-social a:hover {
  background: var(--color-primary);
  color: white;
}

.nav-social svg {
  width: 18px;
  height: 18px;
}

/* Partners Section */
.partners {
  background: var(--color-bg-gray);
  padding: 60px 0;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  background: white;
  border-radius: var(--radius);
  min-width: 140px;
  min-height: 80px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.partner-logo img {
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* Gallery Section */
.gallery-section {
  padding: 60px 0;
  background: var(--color-bg-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  background: white;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-muted);
}

.gallery-placeholder svg {
  width: 48px;
  height: 48px;
}

.gallery-placeholder span {
  font-size: 0.9rem;
}

.gallery-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.gallery-note svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--color-primary);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 24px;
  height: 24px;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-placeholder {
  width: 60vw;
  max-width: 600px;
  aspect-ratio: 4/3;
  background: var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--color-text-muted);
  border-radius: var(--radius);
}

.lightbox-placeholder svg {
  width: 80px;
  height: 80px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* News Section */
.news-section {
  padding: 60px 0;
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item:first-child {
  padding-top: 0;
}

.news-date {
  flex-shrink: 0;
  text-align: center;
  padding: 16px;
  background: var(--color-primary);
  border-radius: var(--radius);
  color: white;
  min-width: 80px;
}

.news-date .day {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.news-date .month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 4px;
}

.news-content h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.news-content p {
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.news-link {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Equipment Section */
.equipment-section {
  padding: 60px 0;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.equipment-card {
  background: var(--color-bg-light);
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.equipment-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 102, 204, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.equipment-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
}

.equipment-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.equipment-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.equipment-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 102, 204, 0.1);
  color: var(--color-primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.equipment-card-with-image {
  padding: 0;
  overflow: hidden;
}

.equipment-card-with-image h3,
.equipment-card-with-image p,
.equipment-card-with-image .equipment-tag {
  padding: 0 24px;
}

.equipment-card-with-image h3 {
  padding-top: 20px;
}

.equipment-card-with-image .equipment-tag {
  margin-bottom: 24px;
}

.equipment-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.equipment-card-with-image:hover .equipment-image img {
  transform: scale(1.05);
}

/* Certificates Section */
.certificates-section {
  padding: 60px 0;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.certificate-card {
  background: var(--color-bg-light);
  padding: 28px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.certificate-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.certificate-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
}

.certificate-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.certificate-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.certificates-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  max-width: 700px;
  margin: 0 auto;
}

.certificates-note svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
}

.certificates-note p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Certificates Gallery */
.certificates-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.certificate-item {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  background: var(--color-bg-light);
}

.certificate-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.certificate-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mediraty Section */
.mediraty-section {
  padding: 60px 0;
}

.mediraty-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.mediraty-logo {
  margin-bottom: 20px;
}

.mediraty-brand {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #00a651, #008041);
  color: white;
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 700;
}

.mediraty-intro h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.mediraty-intro p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.mediraty-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.benefit-card {
  text-align: center;
  padding: 32px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 166, 81, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
  stroke: #00a651;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.mediraty-how {
  max-width: 800px;
  margin: 0 auto 60px;
}

.mediraty-how h2 {
  text-align: center;
  margin-bottom: 40px;
}

.steps-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--color-border);
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.mediraty-services {
  max-width: 600px;
  margin: 0 auto 48px;
}

.mediraty-services h2 {
  text-align: center;
  margin-bottom: 24px;
}

.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-light);
}

.services-list svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-success);
}

.mediraty-cta {
  text-align: center;
  padding: 32px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
}

.mediraty-cta p {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

/* Service Content with Sidebar */
.service-content {
  padding: 60px 0;
}

.service-content .container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
}

.service-intro {
  grid-column: 1 / -1;
  max-width: 800px;
  text-align: center;
  margin: 0 auto 40px;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.service-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-item {
  padding: 24px;
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
}

.service-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}

.service-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.service-item a {
  font-weight: 500;
}

.service-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.service-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 8px;
}

.sidebar-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--color-text-light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: var(--transition);
}

.sidebar-nav a:hover {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-mediraty {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-mediraty img {
  max-width: 120px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: var(--transition);
}

.footer-mediraty img:hover {
  opacity: 1;
}

.mediraty-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-cookies {
  margin-top: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive for new components */
@media (max-width: 768px) {
  .nav-social {
    display: none;
  }

  .news-item {
    flex-direction: column;
    gap: 16px;
  }

  .news-date {
    align-self: flex-start;
  }

  .steps-timeline {
    flex-direction: column;
    gap: 32px;
  }

  .steps-timeline::before {
    display: none;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .service-content .container {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
    order: -1;
    padding: 20px;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}
