/* Self-hosted Space Grotesk + Work Sans (latin + latin-ext for RO) */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/SpaceGrotesk-2.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/SpaceGrotesk-3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/WorkSans-5.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/WorkSans-6.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ECHO Dr. Stavarache — visual match to original Helix/nestfund site */
:root {
  --ink: #000000;
  --ink-soft: #193029;
  --muted: #4a5550;
  --line: #e8e8e8;
  --paper: #ffffff;
  --panel: #f5f5f5;
  --footer: #223035;
  --footer-deep: #19272a;
  --max: 1140px;
  --font: "Work Sans", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Work Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.56;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-soft); }
picture { display: block; }
picture img { width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.topbar {
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  min-height: 0;
  align-items: center;
}
.topbar-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.topbar-contacts a { color: inherit; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 0;
  padding: 0.15rem 0 0.25rem;
  position: relative;
}
.header-brand {
  display: none;
  margin: 0;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.header-brand a { color: #000; }

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  padding: 0.2rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
}
.site-nav a.is-active,
.site-nav a[aria-current="page"] {
  color: #000;
  border-bottom-color: #000;
}
.site-nav a:hover { color: #000; }

.nav-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #193029;
}

/* Notice styles (also used on hero strip) */
.notice-text,
.notice h2 {
  font-family: var(--display);
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  font-weight: 600;
  margin: 0;
  color: #000;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.answer {
  font-size: 1.08rem;
  color: var(--ink);
  max-width: 42rem;
  margin: 0.75rem 0 0;
}

/* Hero — flush under menu; notice on image top */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(54vh, 500px);
  color: #fff;
  overflow: hidden;
  background-color: #1a1a1a;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 100%;
}
.hero-notice {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: 0.4rem 0;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-notice .notice-text {
  color: #fff;
  font-size: clamp(0.82rem, 1.5vw, 0.95rem);
  font-weight: 500;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.38) 38%,
    rgba(0, 0, 0, 0.1) 68%,
    transparent 100%
  );
  pointer-events: none;
}
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 1.5rem 0 2.1rem;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  max-width: 28rem;
  text-align: left;
}
.hero-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 500;
  text-transform: none;
  color: #fff;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-name {
  margin: 0.1rem 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.25;
}
.hero .lead {
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0.35rem 0 0;
  max-width: 24rem;
  padding-top: 0;
}
.hero .lead::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.65rem;
}

/* Feature banners — original 4-column strip */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background: #f3f3f3;
}
.feature-banner {
  display: block;
  padding: 2.25rem 1.5rem 2rem;
  color: inherit;
  border-right: 1px solid #e0e0e0;
  text-align: left;
  transition: background 0.25s var(--ease);
}
.feature-banner:last-child { border-right: 0; }
.feature-banner:hover { background: #ebebeb; }
.feature-icon {
  display: inline-flex;
  color: #000;
  margin-bottom: 1rem;
}
.feature-banner h2,
.feature-banner h3 {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: #000;
}
.feature-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.45;
}

.section {
  padding: 4.5rem 0;
}
.section-head {
  margin-bottom: 2rem;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}
.section-head .muted {
  color: var(--muted);
  max-width: 40rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
.split img {
  width: 100%;
  border-radius: 0;
  object-fit: cover;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.service-list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 1.05rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: #000;
}

.indications {
  background: var(--panel);
}
.indications-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.indications-list li {
  padding: 1rem 1.15rem;
  background: #fff;
  border-left: 3px solid #000;
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}
.page-hero .answer {
  margin-top: 1rem;
}

/* Despre — doctor photo banner (as on original) */
.page-hero--photo {
  position: relative;
  min-height: clamp(240px, 36vw, 440px);
  padding: 0;
  border-bottom: 0;
  color: #fff;
  overflow: hidden;
  background-color: #1a1a1a;
}
.page-hero--photo > .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}
.page-hero--photo > .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.page-hero--contact {
  background-color: #2a2a2a;
}
.page-hero--contact > .hero-media img {
  object-position: left center;
}
.page-hero--contact::after {
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.45) 48%,
    rgba(0, 0, 0, 0.15) 100%
  );
}
.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.22) 42%,
    rgba(0, 0, 0, 0.05) 72%,
    transparent 100%
  );
  pointer-events: none;
}
.page-hero--photo .page-hero-inner {
  display: flex;
  align-items: flex-end;
  min-height: clamp(240px, 36vw, 440px);
  padding: 2rem 0 2.25rem;
  position: relative;
  z-index: 2;
}
.page-hero--photo .page-hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 34rem;
  text-align: left;
}
.page-hero--photo h1 {
  color: #fff;
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.page-hero--photo .answer {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.45;
  max-width: 30rem;
}

.prose {
  max-width: none;
}
.prose h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-top: 2rem;
}
.prose h2:first-child {
  margin-top: 0;
}

.despre-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
.despre-aside h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-top: 0;
}
.despre-equipment {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.despre-equipment img {
  width: 100%;
  margin-bottom: 1rem;
}
.despre-equipment h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}
.despre-equipment p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.85rem 1.1rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
}

.equipment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-card h2 {
  font-size: 1.75rem;
}
.contact-card p,
.contact-card li {
  font-size: 1.05rem;
}
.contact-phones {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}
.contact-phones li { margin-bottom: 0.35rem; }
.map-link img {
  width: 100%;
  border: 1px solid var(--line);
}
.map-link {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  background: #000;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid #000;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover {
  background: #fff;
  color: #000 !important;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Footer — compact strip */
.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.site-footer a:hover { opacity: 0.85; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0;
  padding: 0;
}
.footer-nav a { font-weight: 500; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  color: rgba(255, 255, 255, 0.88);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 0;
  font-size: 0.8rem;
  background: var(--footer-deep);
}
.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-banner:nth-child(2) { border-right: 0; }
  .feature-banner:nth-child(1),
  .feature-banner:nth-child(2) { border-bottom: 1px solid #e0e0e0; }
  .despre-grid,
  .split,
  .equipment,
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 3.25rem 0; }
  .page-hero--photo,
  .page-hero--photo .page-hero-inner {
    min-height: clamp(200px, 42vw, 320px);
  }
}

@media (max-width: 767px) {
  body { font-size: 16.5px; }
  .wrap { width: min(100% - 1.5rem, var(--max)); }

  /* Topbar — tap-friendly phones */
  .topbar-inner { justify-content: center; }
  .topbar-contacts {
    justify-content: center;
    gap: 0.35rem 0.75rem;
    font-size: 0.78rem;
    padding: 0.35rem 0;
  }
  .topbar-contacts a {
    display: inline-block;
    padding: 0.2rem 0;
    font-weight: 600;
  }
  .topbar-hours { display: none; }

  /* Header + hamburger */
  .header-inner {
    justify-content: space-between;
    min-height: 3rem;
    padding: 0.35rem 0;
    position: static;
  }
  .header-brand { display: block; }
  .nav-toggle {
    display: block;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: -0.35rem;
    flex-shrink: 0;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0 1rem;
    z-index: 60;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    width: min(100% - 1.5rem, var(--max));
    margin-inline: auto;
  }
  .site-nav a {
    display: block;
    padding: 0.85rem 0.15rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a.is-active,
  .site-nav a[aria-current="page"] {
    border-bottom-color: #000;
  }
  .site-nav li:last-child a { border-bottom: 0; }

  /* Heroes */
  .hero {
    min-height: 0;
  }
  .hero-notice {
    padding: 0.45rem 0.75rem;
  }
  .hero-notice .notice-text {
    font-size: 0.8rem;
    line-height: 1.35;
  }
  .hero-body {
    padding: 1.35rem 0 1.6rem;
    min-height: 280px;
  }
  .hero-content { max-width: 100%; }
  .hero-kicker { font-size: 0.65rem; letter-spacing: 0.14em; }
  .hero h1 { font-size: clamp(1.65rem, 8vw, 2.15rem); }
  .hero-name { font-size: 1rem; }
  .hero .lead { font-size: 0.92rem; max-width: 100%; }

  .page-hero {
    padding: 2rem 0 1.25rem;
  }
  .page-hero--photo,
  .page-hero--photo .page-hero-inner {
    min-height: 230px;
  }
  .page-hero--photo .page-hero-inner {
    padding: 1.35rem 0 1.5rem;
  }
  .page-hero--photo h1 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }
  .page-hero--photo .answer {
    font-size: 0.92rem;
  }
  .page-hero--photo .page-hero-body {
    max-width: 100%;
  }

  /* Features */
  .feature-row { grid-template-columns: 1fr; }
  .feature-banner {
    border-right: 0;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 1.15rem 1.35rem;
  }
  .feature-banner:last-child { border-bottom: 0; }

  /* Content */
  .section { padding: 2.5rem 0; }
  .section-head { margin-bottom: 1.25rem; }
  .split { gap: 1.75rem; }
  .despre-grid { gap: 2rem; }
  .service-list { font-size: 1rem; }

  .faq-item summary {
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 1rem;
  }

  /* Buttons — full width stacks */
  .btn {
    width: 100%;
    min-height: 2.85rem;
    padding: 0.9rem 1.1rem;
  }
  .btn-group {
    flex-direction: column;
    gap: 0.65rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.15rem 0;
  }
  .footer-nav,
  .footer-meta {
    gap: 0.45rem 1rem;
  }
  .footer-bottom { padding: 0.75rem 0; }
  .site-footer { margin-top: 1.25rem; }
}

@media (max-width: 479px) {
  .topbar-contacts {
    font-size: 0.72rem;
    gap: 0.2rem 0.55rem;
  }
  .hero-body { min-height: 250px; }
  .feature-banner { padding: 1.25rem 1rem; }
}
