/* ============================================================
   DT. Dilan Canpolat Diş Kliniği — clinicdcp.com
   ============================================================ */

:root {
  --teal-900: #083c42;
  --teal-800: #0e5c63;
  --teal-700: #14707a;
  --teal-100: #dcefef;
  --teal-50:  #eef7f7;
  --gold-600: #b98a2f;
  --gold-500: #c9a24b;
  --gold-100: #f3e8d2;
  --ink-900:  #1d2a2c;
  --ink-600:  #4a5b5e;
  --ink-400:  #7d8c8e;
  --cream:    #faf7f2;
  --white:    #ffffff;
  --line:     #e6e0d5;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(8, 60, 66, 0.07);
  --shadow-md: 0 12px 32px rgba(8, 60, 66, 0.12);
  --shadow-lg: 0 24px 60px rgba(8, 60, 66, 0.18);

  --header-h: 78px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; color: var(--teal-900); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; }
h1 em { font-style: italic; color: var(--teal-700); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.18rem; font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.lead { font-size: 1.08rem; color: var(--ink-600); }

.section { padding: 96px 0; }
.section-tinted { background: linear-gradient(180deg, var(--teal-50) 0%, var(--cream) 100%); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p { color: var(--ink-600); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-primary { background: var(--teal-800); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-700); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--teal-800); color: var(--teal-800); background: transparent; }
.btn-ghost:hover { background: var(--teal-800); color: var(--white); }
.btn-gold { background: var(--gold-500); color: var(--teal-900); }
.btn-gold:hover { background: var(--gold-600); color: var(--white); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(8, 60, 66, 0.06);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px;
  height: 40px;
  fill: var(--teal-800);
  background: var(--teal-100);
  border-radius: 12px;
  padding: 7px;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: 1.02rem; color: var(--teal-900); }
.brand-text small { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-600);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover { color: var(--teal-800); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--teal-800); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  box-shadow: var(--shadow-sm);
}
.lang-switch button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink-400);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-switch button.active { background: var(--teal-800); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0 10px;
}
.nav-toggle span {
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 64px) 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--teal-100) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -260px; left: -200px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-100) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-content .lead { margin-top: 18px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}
.hero-stats li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  min-width: 128px;
  box-shadow: var(--shadow-sm);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal-800);
}
.hero-stats span { font-size: 0.8rem; color: var(--ink-400); font-weight: 600; }

.hero-media { position: relative; justify-self: center; }
.arch-frame {
  width: min(400px, 82vw);
  aspect-ratio: 3 / 4;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.arch-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(8, 60, 66, 0.08);
  z-index: 1;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  max-width: 250px;
}
.hero-badge svg { width: 34px; height: 34px; fill: var(--gold-500); flex-shrink: 0; }
.hero-badge strong { display: block; font-size: 0.88rem; color: var(--teal-900); line-height: 1.35; }
.hero-badge span { font-size: 0.76rem; color: var(--ink-400); }

/* ---------- About clinic ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-grid p {
  color: var(--ink-600);
  font-size: 1.02rem;
  padding-left: 22px;
  border-left: 3px solid var(--gold-500);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-100);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--teal-50);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: background 0.25s ease;
}
.service-card:hover .service-icon { background: var(--teal-100); }
.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--teal-800);
  stroke-width: 1.6;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; color: var(--ink-600); }

.services-note {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.services-note svg {
  width: 38px; height: 38px;
  fill: none;
  stroke: var(--gold-600);
  stroke-width: 1.6;
  flex-shrink: 0;
}
.services-note p { color: var(--ink-600); font-size: 0.98rem; }
.services-note strong { color: var(--teal-900); }

/* ---------- Technology ---------- */
.tech-list { display: flex; flex-direction: column; gap: 26px; }
.tech-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.tech-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tech-item:nth-child(even) { grid-template-columns: 1fr 300px; }
.tech-item:nth-child(even) .tech-media { order: 2; }
.tech-media {
  background: linear-gradient(160deg, var(--teal-50), var(--gold-100) 130%);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 230px;
}
.tech-media img {
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(8, 60, 66, 0.14));
  transition: transform 0.35s ease;
}
.tech-item:hover .tech-media img { transform: scale(1.05); }
.tech-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-600);
  display: inline-block;
  margin-bottom: 6px;
}
.tech-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.tech-body p { color: var(--ink-600); font-size: 0.98rem; max-width: 640px; }

.tech-closing {
  margin-top: 48px;
  text-align: center;
}
.tech-closing p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--teal-800);
  max-width: 760px;
  margin-inline: auto;
  position: relative;
  padding-top: 26px;
}
.tech-closing p::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  border-radius: 3px;
  background: var(--gold-500);
}

/* ---------- Doctor ---------- */
.doctor-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.doctor-media { position: relative; justify-self: center; }
.doctor-photo {
  width: min(380px, 80vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 100%, var(--teal-100) 0%, transparent 60%),
    linear-gradient(180deg, var(--white), var(--teal-50));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.doctor-photo img { width: 100%; object-fit: cover; }
.doctor-card-badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  background: var(--teal-800);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.doctor-card-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-500);
}
.doctor-card-badge span { font-size: 0.78rem; opacity: 0.85; font-weight: 600; }

.doctor-body h2 { margin-bottom: 20px; }
.doctor-body p { color: var(--ink-600); margin-bottom: 16px; }
.doctor-highlights { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.doctor-highlights li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  color: var(--teal-900);
  font-size: 0.96rem;
}
.doctor-highlights li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(#000 0 0);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / 14px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

/* ---------- FAQ ---------- */
.faq .section-head { margin-inline: auto; text-align: center; }
.faq .section-head .eyebrow::before { display: none; }
.faq-list { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--teal-100); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--teal-900);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal-50);
  position: relative;
  transition: background 0.25s ease, transform 0.3s ease;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--teal-800);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, background 0.25s ease;
}
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { background: var(--teal-800); transform: rotate(180deg); }
.faq-item[open] summary i::before,
.faq-item[open] summary i::after { background: var(--white); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--ink-600); font-size: 0.96rem; }

/* ---------- Contact ---------- */
.section-dark {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(201, 162, 75, 0.14) 0%, transparent 55%),
    linear-gradient(165deg, var(--teal-900) 0%, var(--teal-800) 100%);
}
.section-dark h2 { color: var(--white); }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.75); }
.section-dark .eyebrow { color: var(--gold-500); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
}
.contact-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 1.7;
}
.contact-item strong { color: var(--white); display: block; margin-bottom: 2px; }
.contact-item p, .contact-item a { color: rgba(255, 255, 255, 0.78); font-size: 0.96rem; }
.contact-item a:hover { color: var(--gold-500); }
.contact-info .btn { align-self: flex-start; margin-top: 8px; }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 340px;
  box-shadow: var(--shadow-lg);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

/* ---------- Footer ---------- */
.site-footer { background: #062e33; color: rgba(255, 255, 255, 0.75); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.site-footer .brand-mark { background: rgba(255, 255, 255, 0.1); fill: var(--gold-500); }
.site-footer .brand-text strong { color: var(--white); }
.footer-brand p { margin-top: 16px; font-size: 0.92rem; max-width: 300px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav strong, .footer-contact strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
  display: block;
}
.footer-nav a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--gold-500); }
.footer-contact p { font-size: 0.92rem; margin-bottom: 8px; }
.footer-contact a:hover { color: var(--gold-500); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 0.84rem;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
}
.design-credit a {
  color: var(--gold-500);
  font-weight: 700;
  transition: color 0.2s ease;
}
.design-credit a:hover { color: var(--white); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--teal-800);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-700); }
.back-to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { order: -1; }
  .arch-frame { width: min(340px, 78vw); }
  .doctor-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--teal-50); }
  .main-nav a:last-child { border-bottom: 0; }

  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }

  .section { padding: 72px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .tech-item, .tech-item:nth-child(even) { grid-template-columns: 1fr; }
  .tech-item:nth-child(even) .tech-media { order: 0; }
  .tech-media { min-height: 200px; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
  .doctor-card-badge { right: 8px; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-stats { gap: 10px; }
  .hero-stats li { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .services-note { flex-direction: column; text-align: center; }
}
