:root {
  --black: #000;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  align-items: center;
  background: var(--white);
  color: var(--black);
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  padding: 20px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  background: var(--black);
  color: var(--white);
  left: 1rem;
  padding: 0.65rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  margin-bottom: 20px;
  max-width: 600px;
  padding: 40px 30px;
  width: 100%;
}

.profile-header {
  margin-bottom: 30px;
  text-align: center;
}

.profile-image {
  background: var(--white);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
  height: 150px;
  margin: 0 auto 20px;
  object-fit: cover;
  width: 150px;
}

h1,
h2 {
  color: var(--black);
  font-family: Georgia, serif;
}

h1 {
  font-size: 28px;
  margin: 0 0 8px;
}

h2 {
  border-bottom: 2px solid var(--black);
  font-size: 20px;
  margin: 35px 0 15px;
  padding-bottom: 8px;
}

.subtitle {
  color: var(--black);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin: 0 0 25px;
  text-transform: uppercase;
}

.btn {
  border-radius: 8px;
  box-sizing: border-box;
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  width: 100%;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-medical {
  background: var(--black);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  color: var(--white);
}

.btn-medical:hover,
.btn-medical:focus-visible {
  background: var(--black);
}

.bio-section p {
  color: var(--black);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 15px;
}

.bio-section h2:first-child {
  margin-top: 35px;
}

.credentials-section h2,
.location-section h2,
.contact-section h2 {
  margin-top: 35px;
}

.logos-grid {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  margin-top: 20px;
  padding: 20px 0;
}

.logos-grid img {
  display: block;
  max-height: 65px;
  max-width: 100%;
  object-fit: contain;
}

.map-container {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 250px;
  margin-top: 15px;
  overflow: hidden;
  width: 100%;
}

.map-container iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.contact-actions {
  border-top: 1px solid var(--black);
  display: grid;
  gap: 12px;
  padding-top: 30px;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--white);
  border-color: var(--black);
}

@media (max-width: 480px) {
  body {
    padding: 12px;
  }

  .container {
    padding: 32px 22px;
  }

  .logos-grid {
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }

  .logos-grid img {
    max-height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}