/* ── VARIABLES ── */
:root {
  --dark:      #0A2A2A;
  --dark2:     #0D3333;
  --dark3:     #132E2E;
  --mint:      #4ECDC4;
  --mint-light:#7EDDD6;
  --mint-dim:  rgba(78,205,196,0.12);
  --text:      #F0FFF8;
  --muted:     #7AB5A8;
  --white:     #FFFFFF;
  --radius:    14px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--dark); color: var(--text); font-family: 'Inter', sans-serif; font-size: 15px; line-height: 1.7; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, .logo, .footer-logo { font-family: 'Nunito', sans-serif; }

/* ── NAV ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,42,42,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(78,205,196,0.12); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 28px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 900; color: var(--text); }
.logo span { color: var(--mint); }
.lang-switch { display: flex; align-items: center; gap: 6px; }
.lang-sep { color: var(--muted); font-size: 14px; }
.lang-btn { background: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); padding: 4px 8px; border-radius: 6px; transition: all 0.2s; }
.lang-btn.active { color: var(--mint); background: var(--mint-dim); }
.lang-btn:hover:not(.active) { color: var(--text); }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 64px; background: linear-gradient(135deg, #071E1E 0%, #0A2A2A 50%, #0D3333 100%); }
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 70px 28px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-text { display: flex; flex-direction: column; }
.hero-tag { display: inline-block; font-family: 'Nunito', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mint); background: var(--mint-dim); padding: 6px 14px; border-radius: 20px; margin-bottom: 22px; width: fit-content; }
.hero-text h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 900; line-height: 1.1; color: var(--text); margin-bottom: 18px; }
.hero-text h1 em { font-style: normal; color: var(--mint); display: block; }
.hero-sub { font-size: 16px; color: var(--muted); max-width: 460px; margin-bottom: 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { font-size: 12px; font-weight: 600; color: var(--mint); background: var(--mint-dim); padding: 6px 12px; border-radius: 20px; border: 1px solid rgba(78,205,196,0.2); }

/* Hero image */
.hero-img { position: relative; }
.hero-img img { width: 100%; border-radius: 20px; display: block; box-shadow: 0 24px 72px rgba(0,0,0,0.4); }
.hero-img-card {
  position: absolute; bottom: 24px; left: -20px;
  background: var(--mint); color: #0A2A2A;
  padding: 14px 20px; border-radius: 12px;
  box-shadow: 0 8px 28px rgba(78,205,196,0.45);
}
.img-card-num { font-family: 'Nunito', sans-serif; font-size: 28px; font-weight: 900; line-height: 1; }
.img-card-num span { font-size: 18px; }
.img-card-lbl { font-size: 12px; font-weight: 600; margin-top: 2px; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 14px 28px; border-radius: 10px; font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 700; transition: all 0.2s; border: none; cursor: pointer; line-height: 1; }
.btn-mint { background: var(--mint); color: #0A2A2A; box-shadow: 0 4px 18px rgba(78,205,196,0.38); }
.btn-mint:hover { background: var(--mint-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(78,205,196,0.5); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--text); border: 1.5px solid rgba(255,255,255,0.14); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ── SECTIONS ── */
.section { padding: 90px 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.sec-head { margin-bottom: 52px; }
.sec-label { font-family: 'Nunito', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mint); margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 900; color: var(--text); line-height: 1.15; }
.sec-sub { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 500px; line-height: 1.75; }

/* ── SERVICES ── */
.services-section { background: var(--dark2); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { background: var(--dark3); border: 1px solid rgba(78,205,196,0.1); border-radius: var(--radius); padding: 28px 22px; transition: all 0.3s; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.svc-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 14px 44px rgba(0,0,0,0.4); border-color: rgba(78,205,196,0.3); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--mint-dim);
  border: 1px solid rgba(78,205,196,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--mint);
  transition: background 0.3s;
}
.svc-card:hover .svc-icon { background: rgba(78,205,196,0.2); }
.svc-icon i { font-size: 26px; }
.svc-card h3 { font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.svc-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; flex: 1; }
.svc-price { font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: 800; color: var(--mint); margin-bottom: 12px; }
.svc-cta { font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 700; color: var(--mint); transition: letter-spacing 0.2s; }
.svc-cta:hover { letter-spacing: 0.04em; }

/* ── BEFORE / AFTER ── */
.ba-section { background: var(--dark); }
.ba-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.ba-img { position: absolute; inset: 0; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before-img { clip-path: inset(0 50% 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 3px; background: var(--white);
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.ba-handle-circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
  font-size: 16px; font-weight: 900;
  color: var(--dark);
  letter-spacing: -2px;
  pointer-events: all;
  cursor: ew-resize;
}
.ba-label {
  position: absolute; bottom: 16px;
  padding: 5px 14px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(10,42,42,0.8); color: var(--text);
  z-index: 5; backdrop-filter: blur(4px);
}
.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }
.ba-hint { font-size: 13px; color: var(--muted); text-align: center; }

/* ── DOCTORS ── */
.doctors-section { background: var(--dark2); }
.doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doc-card { background: var(--dark3); border: 1px solid rgba(78,205,196,0.1); border-radius: var(--radius); overflow: hidden; transition: all 0.3s; }
.doc-card:hover { transform: translateY(-5px); box-shadow: 0 14px 44px rgba(0,0,0,0.4); border-color: rgba(78,205,196,0.25); }
.doc-img img { width: 100%; height: 260px; object-fit: cover; display: block; filter: grayscale(15%); transition: filter 0.3s; }
.doc-card:hover .doc-img img { filter: grayscale(0); }
.doc-info { padding: 22px; }
.doc-info h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.doc-spec { font-size: 12px; font-weight: 600; color: var(--mint); margin-bottom: 10px; letter-spacing: 0.04em; }
.doc-info p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── FORM ── */
.booking-section { background: var(--dark); }
.form-box { background: var(--dark2); border: 1px solid rgba(78,205,196,0.14); border-radius: var(--radius); padding: 48px; max-width: 680px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.field.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { padding: 12px 16px; border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; background: var(--dark3); font-family: 'Inter', sans-serif; font-size: 15px; color: var(--text); outline: none; transition: border-color 0.2s; }
.field input:focus, .field select:focus { border-color: rgba(78,205,196,0.5); }
.field select option { background: var(--dark3); }
.btn-submit { width: 100%; padding: 16px; font-size: 16px; }
.form-ok { display: none; margin-top: 16px; padding: 16px; background: rgba(78,205,196,0.08); border: 1px solid rgba(78,205,196,0.25); border-radius: 10px; color: var(--mint); font-family: 'Nunito', sans-serif; font-weight: 700; text-align: center; }
.form-ok.show { display: block; }

/* ── FOOTER ── */
.footer { background: var(--dark2); border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-size: 20px; font-weight: 900; color: var(--text); }
.footer-logo span { color: var(--mint); }
.footer-tagline { font-size: 14px; font-style: italic; color: var(--muted); font-family: 'Nunito', sans-serif; }
.footer-cr { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── WIDGET ── */
.widget { position: fixed; bottom: 24px; right: 24px; z-index: 1000; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.w-btn { width: 58px; height: 58px; border-radius: 50%; background: var(--mint); border: none; font-size: 24px; color: var(--dark); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 22px rgba(78,205,196,0.5); transition: transform 0.3s; cursor: pointer; animation: w-pulse 3s ease-in-out infinite; }
@keyframes w-pulse { 0%, 100% { box-shadow: 0 4px 22px rgba(78,205,196,0.5); } 50% { box-shadow: 0 4px 40px rgba(78,205,196,0.85); } }
.w-btn:hover { transform: scale(1.1); }
.w-panel { width: 330px; background: var(--dark2); border: 1px solid rgba(78,205,196,0.2); border-radius: 16px; box-shadow: 0 14px 56px rgba(0,0,0,0.55); display: none; flex-direction: column; overflow: hidden; max-height: 480px; }
.w-panel.open { display: flex; }
.w-head { background: linear-gradient(135deg, rgba(78,205,196,0.18), rgba(78,205,196,0.04)); border-bottom: 1px solid rgba(78,205,196,0.14); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.w-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--mint); color: var(--dark); display: flex; align-items: center; justify-content: center; font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 900; flex-shrink: 0; }
.w-info { flex: 1; min-width: 0; }
.w-name { font-size: 14px; font-weight: 600; color: var(--text); }
.w-status { font-size: 11px; color: var(--muted); }
.w-close { background: none; border: none; color: var(--muted); font-size: 16px; padding: 4px; cursor: pointer; transition: color 0.2s; }
.w-close:hover { color: var(--text); }
.w-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.w-msg { max-width: 86%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; }
.w-msg.bot { background: var(--dark3); color: var(--text); border: 1px solid rgba(255,255,255,0.06); align-self: flex-start; border-radius: 4px 12px 12px 12px; }
.w-msg.user { background: var(--mint); color: var(--dark); align-self: flex-end; border-radius: 12px 4px 12px 12px; font-weight: 600; }
.w-msg.typing { font-style: italic; color: var(--muted); font-size: 13px; }
.w-bottom { padding: 10px 12px; display: flex; gap: 8px; border-top: 1px solid rgba(255,255,255,0.06); }
.w-input { flex: 1; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; background: var(--dark3); font-family: 'Inter', sans-serif; font-size: 14px; color: var(--text); outline: none; transition: border-color 0.2s; }
.w-input:focus { border-color: rgba(78,205,196,0.4); }
.w-send { width: 40px; height: 40px; border-radius: 10px; background: var(--mint); border: none; color: var(--dark); font-size: 18px; font-weight: 700; cursor: pointer; transition: background 0.2s; flex-shrink: 0; }
.w-send:hover { background: var(--mint-light); }
.w-note { text-align: center; font-size: 11px; color: var(--muted); padding: 6px 12px 8px; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-img { max-width: 440px; order: -1; }
  .hero-img-card { left: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; max-width: 400px; }
  .form-row { grid-template-columns: 1fr; }
  .form-box { padding: 28px 20px; }
  .footer-in { flex-direction: column; align-items: flex-start; }
  .w-panel { width: calc(100vw - 48px); }
}
@media (max-width: 600px) {
  .hero-btns { flex-direction: column; }
  .hero-badges { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .w-btn { animation: none; }
}
