body {
  text-align: justify;
}

h3 {
  color: #172554; 
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.grid-pattern {
  background-image:
    linear-gradient(to right, rgba(116, 119, 127, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(116, 119, 127, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-portrait {
  filter: grayscale(0%);
}

.hero-portrait:hover {
  filter: grayscale(100%);
}

.hero-portrait-wrap .shadow-xl {
  box-shadow: 0 24px 60px rgba(24, 28, 30, 0.14);
}

.specialty-image-shell {
  background: linear-gradient(180deg, rgba(0, 32, 69, 0.06) 0%, rgba(0, 32, 69, 0.16) 100%);
  border: 1px solid rgba(196, 198, 207, 0.35);
}

.specialty-placeholder {
  transition: transform 0.7s ease;
}

.group:hover .specialty-placeholder {
  transform: scale(1.05);
}

.specialty-overlay {
  background: linear-gradient(180deg, rgba(0, 32, 69, 0.20) 0%, rgba(0, 32, 69, 0.36) 100%);
  transition: background 0.3s ease;
}

.group:hover .specialty-overlay {
  background: linear-gradient(180deg, rgba(0, 32, 69, 0.08) 0%, rgba(0, 32, 69, 0.18) 100%);
}


.second-opinion-highlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(173, 199, 247, 0.25) 0%, transparent 28%),
    linear-gradient(135deg, #002045 0%, #1a365d 100%);
}

.second-opinion-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.45;
}

.second-opinion-chip {
  background: rgba(255, 255, 255, 0.10);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(24, 28, 30, 0.06);
}

.location-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(24, 28, 30, 0.06);
}

.map-link img {
  transition: transform 0.5s ease;
}

.map-link:hover img {
  transform: scale(1.03);
}

.contact-visual-panel {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: 1.5rem;
  box-shadow: 0 30px 70px rgba(24, 28, 30, 0.08);
}

.contact-photo-shell {
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(0, 32, 69, 0.08) 0%, rgba(0, 32, 69, 0.18) 100%);
}

.contact-photo-shell img {
  display: block;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #25D366;
  color: #ffffff;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.28);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  filter: brightness(0.98);
  box-shadow: 0 22px 48px rgba(37, 211, 102, 0.34);
}

.whatsapp-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .innovation-visual-frame {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.9rem 1rem;
  }

  .whatsapp-float span:last-child {
    font-size: 0.95rem;
  }

  .contact-visual-panel {
    padding: 1rem;
  }
}
