/* Dr. Vlad Mureșanu — pagina de așteptare
   Fonturi de sistem (fără Google Fonts). Statisticile vin din Cloudflare Web Analytics (fără cookie-uri),
   activat din proiectul Cloudflare Pages, deci pagina nu are nevoie de banner de cookie-uri. */
:root {
  --navy: #102D4C;
  --navy-900: #0A1F36;
  --navy-700: #1D4269;
  --navy-500: #3B6089;
  --navy-tint: #EBF0F6;
  --ink: #1D1D1F;
  --muted: #5E6773;
  --line: #E3E6EA;
  --bg-alt: #F5F5F7;
  --wa: #25D366;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--navy-500); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 38px; height: 38px; }
.brand b { display: block; font-size: 1rem; letter-spacing: -0.02em; color: var(--navy); line-height: 1.15; }
.brand small { display: block; font-size: .6875rem; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.top-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: .9375rem; font-weight: 600; color: var(--navy); text-decoration: none; background: var(--navy-tint); transition: background .2s var(--ease), transform .2s var(--ease); }
.top-phone:hover { background: #DFE7F0; transform: translateY(-1px); }
.top-phone svg { width: 17px; height: 17px; }

/* Hero */
.hero { min-height: calc(100svh - 64px); display: flex; align-items: center; padding: clamp(48px, 8vw, 96px) 0; text-align: center; }
.hero .wrap { display: grid; justify-items: center; }
.hero__mark { width: clamp(72px, 9vw, 104px); height: auto; margin-bottom: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--navy-tint); color: var(--navy-700); font-size: .875rem; font-weight: 600; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--navy-500); box-shadow: 0 0 0 0 rgba(59,96,137,.5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59,96,137,.45); } 70% { box-shadow: 0 0 0 10px rgba(59,96,137,0); } 100% { box-shadow: 0 0 0 0 rgba(59,96,137,0); } }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); letter-spacing: -0.04em; line-height: 1.02; margin-top: 22px; max-width: 15ch; }
.hero .lead { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.45; color: var(--muted); letter-spacing: -0.01em; margin-top: 24px; max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.where { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: .9375rem; color: var(--muted); text-decoration: none; min-height: 44px; }
.where { text-align: left; align-items: flex-start; padding-top: 11px; }
.where svg { width: 18px; height: 18px; color: var(--navy-700); flex: none; margin-top: 2px; }
.where:hover { color: var(--navy); text-decoration: underline; }
[data-enter] > * { animation: enter .8s var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: .06s; } [data-enter] > *:nth-child(3) { animation-delay: .12s; } [data-enter] > *:nth-child(4) { animation-delay: .18s; } [data-enter] > *:nth-child(n+5) { animation-delay: .24s; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(16,45,76,.22); }
.btn--primary:hover { background: var(--navy-900); box-shadow: 0 10px 26px rgba(16,45,76,.28); }
.btn--wa { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--wa svg { color: var(--wa); }
.btn--wa:hover { border-color: var(--wa); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Servicii */
.services { background: var(--bg-alt); padding: clamp(80px, 11vw, 140px) 0; }
.services h2, .contact h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.eyebrow { display: block; font-size: .9375rem; font-weight: 600; color: var(--navy-700); margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.card { background: #fff; border-radius: 28px; padding: clamp(26px, 3vw, 36px); }
.card i { width: 48px; height: 48px; border-radius: 14px; background: var(--navy-tint); color: var(--navy); display: grid; place-items: center; margin-bottom: 22px; }
.card i svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.card p { color: var(--muted); }

/* Formular */
.contact { background: var(--navy); color: #fff; padding: clamp(80px, 11vw, 140px) 0; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact .eyebrow { color: #A9C1DB; }
.contact .lead { color: rgba(255,255,255,.74); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); margin-top: 20px; }
.checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: rgba(255,255,255,.88); }
.checks li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat; }
.form { background: #fff; color: var(--ink); border-radius: 32px; padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.form h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: .9375rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 1rem; transition: border-color .18s, box-shadow .18s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(16,45,76,.10); }
.phone-row { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.error { display: none; color: #B42318; font-size: .875rem; }
.has-error input { border-color: #D92D20; }
.has-error .error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; color: var(--muted); margin: 6px 0 22px; }
.consent input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--navy); flex: none; }
.consent a { color: var(--navy-700); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__status { display: none; text-align: center; padding: 24px 0 8px; }
.form__status.is-on { display: block; animation: enter .4s var(--ease) both; }
.form__status i { width: 64px; height: 64px; border-radius: 50%; background: var(--navy-tint); color: var(--navy); display: grid; place-items: center; margin: 0 auto 18px; }
.form__status i svg { width: 28px; height: 28px; }
.form__status p { color: var(--muted); margin-top: 8px; }
.form__fail { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #FEF3F2; color: #912018; font-size: .9375rem; }
.form__fail.is-on { display: block; }
.form__fail a { color: inherit; font-weight: 700; }
.preview-note { margin-top: 12px; font-size: .8125rem; color: #6B5300; background: #FFF0B3; border-radius: 10px; padding: 8px 12px; display: inline-block; }

/* Footer */
.foot { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 56px 0 40px; font-size: .9375rem; }
.foot .wrap { display: grid; gap: 28px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot .brand b { color: #fff; }
.foot .brand small { color: rgba(255,255,255,.6); }
.foot a { color: rgba(255,255,255,.78); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s var(--ease), transform .2s var(--ease); }
.social a:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); text-decoration: none; }
.social svg { width: 20px; height: 20px; color: #fff; }
.foot-addr a { display: inline-flex; align-items: center; min-height: 44px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .8125rem; color: rgba(255,255,255,.55); }
.legal a { display: inline-flex; align-items: center; min-height: 44px; }

/* Bara mobilă */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(0,0,0,.08); }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 14px; font-weight: 600; text-decoration: none; background: var(--bg-alt); color: var(--ink); }
  .mbar a svg { width: 19px; height: 19px; }
  .mbar a:first-child { background: var(--navy); color: #fff; }
  .mbar a:last-child svg { color: var(--wa); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .top-phone span { display: none; }
  .top-phone { width: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .contact .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .actions .btn { width: 100%; }
  .brand small { display: none; }
  .hero { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Pagina de confidențialitate */
.doc { padding: clamp(48px, 8vw, 96px) 0; }
.doc .wrap { max-width: calc(760px + var(--gutter) * 2); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 12px; }
.doc h2 { font-size: 1.375rem; letter-spacing: -0.02em; margin: 40px 0 12px; }
.doc p, .doc li { color: #3A3F47; }
.doc ul { padding-left: 1.2em; display: grid; gap: 6px; }
.doc .muted { color: var(--muted); }
.tbd { background: #FFF0B3; color: #6B5300; border-radius: 6px; padding: 0 .28em; }
