/* ==========================================================
   drancaoprescugirneata.ro — stiluri proprii peste Bootstrap 5
   Principii: text mare, contrast puternic, fonturi ferme.
   ========================================================== */

:root {
  --ink: #111820;
  --ink-2: #1F2A35;
  --muted: #2E3A46;
  --accent: #16525F;
  --accent-dark: #0E3A44;
  --tint: #F2F5F6;
  --tint-2: #E6EEF0;
  --line: #D5DDE1;
  --font-head: 'Public Sans', Arial, sans-serif;
  --font-body: 'Atkinson Hyperlegible Next', Verdana, sans-serif;

  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: 1.1875rem;   /* 19px */
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--ink);
  --bs-link-color: var(--accent);
  --bs-link-color-rgb: 22, 82, 95;
  --bs-link-hover-color: var(--accent-dark);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { background: #fff; }
h1, h2, h3, h4 { color: var(--ink); }
.featured h3, .featured-signs, .footer-name { color: #fff; }

h1, h2, h3, h4, .eyebrow, .brand-name, .badge-title, .featured-label,
[class^="btn-"], .link-strong, .booking-phone, .label, .mobile-bar a {
  font-family: var(--font-head);
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #F2A900;
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: 1rem; top: 1rem; z-index: 2000;
  background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: 8px;
}

.container { max-width: 1240px; }

/* ---------- Antet ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: .875rem; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 52px; height: 52px; flex: none; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 1.3125rem; font-weight: 800; }
.brand-role { font-size: 1rem; color: var(--muted); }
.main-nav { gap: 1.75rem; font-size: 1.125rem; font-weight: 500; }
.main-nav a { color: var(--ink); text-decoration: none; padding: .5rem 0; border-bottom: 3px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--accent); }

/* ---------- Secțiuni ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  margin: 0 0 .75rem; font-size: 1rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
}
.section-title { font-size: clamp(2.125rem, 3.6vw, 3.125rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.sub-title { font-size: 1.75rem; font-weight: 800; }
.lead-text { font-size: 1.25rem; color: var(--muted); max-width: 760px; margin-bottom: 3rem; }
.note { font-size: 1rem; color: var(--muted); }
.link-strong { font-weight: 700; font-size: 1.125rem; display: inline-flex; align-items: center; gap: .4rem; }

.btn-outline-accent, .btn-outline-dark-lg {
  display: inline-flex; align-items: center; gap: .6rem;
  border-radius: 8px; font-weight: 700; text-decoration: none;
}
.btn-outline-accent {
  min-height: 58px; padding: 0 1.6rem; font-size: 1.1875rem;
  border: 2px solid var(--accent); color: var(--accent); background: #fff;
}
.btn-outline-accent:hover { background: var(--accent); color: #fff; }
.btn-outline-dark-lg {
  min-height: 52px; padding: 0 1.25rem; font-size: 1.0625rem;
  border: 2px solid var(--ink); color: var(--ink); background: #fff;
}
.btn-outline-dark-lg:hover { background: var(--ink); color: #fff; }

/* ---------- 1. Hero ---------- */
.hero { background: var(--tint); border-bottom: 1px solid var(--line); padding: 4.5rem 0 5rem; }
.badge-title {
  display: inline-block; margin-bottom: 1.25rem;
  background: #fff; border: 2px solid var(--accent); color: var(--accent);
  font-size: 1rem; font-weight: 700; padding: .375rem .875rem; border-radius: 6px;
}
.hero-name { font-size: clamp(2.75rem, 5.6vw, 4.875rem); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; margin: 0; }
.hero-tagline { margin: 1.75rem 0 0; font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.3; color: var(--accent); }
.hero-intro { margin: 1.125rem 0 0; font-size: 1.25rem; color: var(--muted); max-width: 600px; }
.consult-types {
  list-style: none; padding: 0; margin: 2.5rem 0 2rem; max-width: 660px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem;
}
.consult-types li {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 1rem 1.125rem; display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; line-height: 1.25;
}
.consult-types svg { color: var(--accent); flex: none; }
.hero-photo { margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.hero-photo figcaption { margin-top: .875rem; font-size: 1.0625rem; color: var(--muted); }
.hero-photo figcaption strong { color: var(--ink); font-family: var(--font-head); }

/* ---------- 2. Servicii ---------- */
.featured { background: var(--accent); color: #fff; border-radius: 12px; padding: 2.75rem; margin-bottom: 1.5rem; }
.featured-label {
  display: inline-block; background: #fff; color: var(--accent);
  font-size: .9375rem; font-weight: 800; padding: .25rem .75rem; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .06em;
}
.featured h3 { margin: 1rem 0 .75rem; font-size: 2.5rem; font-weight: 800; line-height: 1.1; }
.featured p { font-size: 1.25rem; color: #E6F0F2; margin: 0; }
.featured-signs { background: rgba(255,255,255,.1); border-radius: 8px; padding: 1.5rem 1.75rem; font-family: var(--font-head); }
.featured-signs ul { margin: 0; padding-left: 1.375rem; font-family: var(--font-body); font-size: 1.1875rem; display: grid; gap: .375rem; }

.service-card { height: 100%; border: 2px solid var(--line); border-radius: 12px; padding: 1.875rem; display: flex; flex-direction: column; gap: .625rem; }
.service-card h3 { font-size: 1.625rem; font-weight: 800; line-height: 1.2; margin: 0; }
.service-card p { margin: 0; font-size: 1.125rem; color: var(--muted); }
.service-card .symptoms { margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.0625rem; }

.tests { margin-top: 3rem; background: var(--tint); border-radius: 12px; padding: 1.75rem 2rem; }
.tests h3 { font-size: 1.125rem; font-weight: 800; margin-bottom: .875rem; }
.tests ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .625rem; }
.tests li { background: #fff; border: 1px solid #B9C6CC; padding: .5rem 1rem; border-radius: 6px; font-size: 1.0625rem; }

/* ---------- 3. Video ---------- */
.yt {
  position: relative; display: block; overflow: hidden; border-radius: 12px;
  background: var(--ink); color: var(--ink);
}
.yt-wide { aspect-ratio: 16 / 9; }
.yt-tall { aspect-ratio: 9 / 16; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.yt-tall .yt-play { width: 64px; height: 64px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; height: 100%; }
.video-card .yt { border-radius: 0; }
.video-card h3 { font-size: 1.375rem; font-weight: 800; line-height: 1.3; padding: 1.375rem 1.5rem; margin: 0; }
.shorts { max-width: 520px; }
.short-card h4 { font-size: 1.0625rem; font-weight: 700; line-height: 1.35; margin: .625rem 0 0; }

/* ---------- 4. Despre ---------- */
.statement { font-size: clamp(1.875rem, 3.2vw, 2.75rem); font-weight: 800; line-height: 1.2; }
.about-text { font-size: 1.1875rem; color: var(--ink-2); }
.principle { height: 100%; background: var(--tint); border-radius: 12px; padding: 1.75rem; border-top: 6px solid var(--accent); }
.principle h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.principle p { margin: 0; font-size: 1.125rem; color: var(--muted); }

/* ---------- 5. Experiență ---------- */
.timeline-title { font-size: 1.375rem; font-weight: 800; padding-bottom: .75rem; border-bottom: 3px solid var(--ink); margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: grid; grid-template-columns: 150px 1fr; column-gap: 1.25rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line);
}
.timeline .period { grid-row: span 2; font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--accent); }
.timeline .what { grid-column: 2; font-family: var(--font-head); font-weight: 700; font-size: 1.3125rem; }
.timeline .where { grid-column: 2; font-size: 1.125rem; color: var(--muted); }
.timeline li.no-period { grid-template-columns: 1fr; }
.timeline li.no-period .what, .timeline li.no-period .where { grid-column: 1; }
.memberships { margin: 2.5rem 0 0; font-size: 1.125rem; }

/* ---------- 6. Locații ---------- */
.location { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.map { position: relative; height: 240px; background-color: #DCE4E7;
  background-image: linear-gradient(#C9D4D8 2px, transparent 2px), linear-gradient(90deg, #C9D4D8 2px, transparent 2px);
  background-size: 44px 44px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load {
  position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .625rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--ink);
}
.map-pin { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(17,24,32,.25); }
.map-label { background: #fff; padding: .375rem .875rem; border-radius: 6px; }
.location-body { padding: 1.875rem; }
.location-kind { font-weight: 700; color: var(--accent); margin: 0; font-size: 1rem; }
.location h3 { font-size: 1.75rem; font-weight: 800; line-height: 1.15; margin: .25rem 0 1.25rem; }
.label { font-size: 1rem; font-weight: 800; color: var(--muted); margin: 0 0 .25rem; }
.location address { font-size: 1.1875rem; margin-bottom: 1rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .375rem 1.5rem; font-size: 1.125rem; margin-bottom: 1.25rem; }
.hours dt { font-weight: 400; }
.hours dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.booking { background: var(--tint); border-radius: 8px; padding: 1.125rem 1.25rem; }
.booking-phone {
  display: inline-flex; align-items: center; gap: .625rem; min-height: 48px;
  font-size: 1.75rem; font-weight: 800; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums;
}
.booking-phone:hover { color: var(--accent); }

/* ---------- Subsol ---------- */
.site-footer { background: #0B1117; color: #DDE4E8; padding: 3rem 0 3rem; font-size: 1.0625rem; }
.site-footer a { color: #DDE4E8; }
.site-footer a:hover { color: #fff; }
.footer-name { font-family: var(--font-head); font-size: 1.375rem; font-weight: 800; color: #fff; margin: 0 0 .25rem; }

/* ---------- Bara fixă mobil ---------- */
.mobile-bar {
  position: sticky; bottom: 0; z-index: 1000;
  background: #fff; border-top: 2px solid var(--ink); padding: .625rem .75rem;
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 54px;
  border: 2px solid var(--accent); color: var(--accent); border-radius: 8px;
  font-weight: 800; font-size: 1.0625rem; text-decoration: none;
}

/* ---------- Telefon ---------- */
@media (max-width: 991.98px) {
  .site-header { position: static; }
  html { scroll-padding-top: 0; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: center 22%; }
  .hero-photo figcaption { display: none; }
}
@media (max-width: 767.98px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 2rem 0 3.5rem; }
  .featured { padding: 1.625rem; }
  .featured h3 { font-size: 2rem; }
  .brand-name { font-size: 1.125rem; }
  .brand-mark { width: 46px; height: 46px; font-size: 1.125rem; }
  .timeline li { grid-template-columns: 1fr; }
  .timeline .period { grid-row: auto; }
  .timeline .what, .timeline .where { grid-column: 1; }
  .site-footer { padding-bottom: 2rem; }
}

@media print {
  .site-header, .mobile-bar, .map, .yt, #video { display: none !important; }
}
