:root {
  --bg: #ffffff;
  --bg-alt: #f3f7f8;
  --surface: #ffffff;
  --text: #14252f;
  --text-muted: #5b6b73;
  --primary: #276b75;
  --primary-dark: #1d555e;
  --primary-soft: #e9f2f3;
  --border: #dbe5e7;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(20, 37, 47, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

 .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 84px 0 88px;
  background: linear-gradient(135deg, #f7fafb 0%, #ffffff 68%, #edf4f5 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.hero-grid > *,
.about-grid > *,
.contact-grid > * {
  min-width: 0;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 0 0 32px;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 54ch;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-meta strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-meta span {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-portrait {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.profile-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
}

.visit-details {
  position: relative;
  padding: 28px 30px 30px;
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.hero-card h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-list .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-list .value {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 2px;
}

/* Sections */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.22;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.clinical-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
}

.clinical-gallery figure {
  margin: 0;
  height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.clinical-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.clinical-gallery figure:first-child img {
  object-position: center 35%;
}

.section-header {
  margin-bottom: 36px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  border-color: #b9cfd3;
  background: #fbfdfd;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.contact-desc {
  color: var(--text-muted);
  margin: 0 0 24px;
}

.contact-items {
  display: grid;
  gap: 14px;
}

.contact-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary);
}

.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  background: #e2e8f0;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* Legal Page */
.legal-container {
  max-width: 820px;
}

.legal-intro {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 26px;
  box-shadow: none;
}

.legal-list {
  margin: 0;
}

.legal-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.legal-row:last-child {
  border-bottom: none;
}

.legal-row dt {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.legal-row dd {
  margin: 0;
  font-weight: 600;
}

.privacy-box {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.privacy-box h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.privacy-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  background: #fff;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Mobile & Tablet Responsive */
@media (max-width: 900px), (max-height: 650px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
  }

  .brand-text span {
    font-size: 0.74rem;
  }

  .btn-sm {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta,
  .cards-grid,
  .clinical-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .clinical-gallery figure {
    height: 260px;
  }

  .legal-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lang-switch:hover {
  border-color: var(--primary);
}

.lang-opt.is-active {
  color: var(--primary);
}

.lang-sep {
  opacity: 0.4;
}


.inline-link {
  color: inherit;
  text-decoration: none;
}

.inline-link:hover {
  color: var(--primary);
}
