/* Stiluri Acasă — brand NeuroDerma Clinic */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero split — text + poză în cadru (nu fundal) */
.hero-split {
  position: relative;
  padding: 3.5rem 0 4.5rem !important;
  margin: 0;
  overflow: visible;
  border-top: none !important;
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(217, 143, 224, .14), transparent 55%),
    var(--brand-50);
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.75rem;
  align-items: center;
}
.hero-split-copy .hero-clinic-eyebrow {
  color: var(--brand-ink);
}
.hero-split h1 {
  color: var(--text);
  font-size: clamp(2.05rem, 4vw, 3rem);
  margin: 0 0 .55rem;
  text-shadow: none;
}
.hero-split-tagline {
  margin: 0 0 1.15rem;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
  max-width: 32em;
}
.hero-split-bio {
  max-width: 38em;
}
.hero-split-bio p {
  margin: 0 0 .9rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}
.hero-split-bio p:last-child { margin-bottom: 0; }
.hero-clinic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.hero-clinic-actions .cta { margin-top: 0; }
.hero-clinic-eyebrow {
  margin: 0 0 .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-split-media {
  position: relative;
}
.hero-split-frame {
  margin: 0;
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(99, 31, 122, .14);
  border: 8px solid #fff;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(165deg, var(--brand-50) 0%, #f3e8f8 55%, #eadcf2 100%);
}
.hero-split-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.doctor-portrait--placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  gap: .65rem;
  padding: 2rem;
}
.doctor-portrait-initials {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 8px 22px rgba(99, 31, 122, .12);
  border: 1px solid rgba(154, 61, 191, .18);
}
.doctor-portrait-hint {
  font-size: .92rem;
  color: var(--muted);
}

/* Why / icon boxes */
.why-section {
  padding: 0 0 2.5rem !important;
  margin-top: -1.5rem;
  position: relative;
  z-index: 3;
  border-top: none !important;
  background: transparent;
}
.icon-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.icon-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.25rem 1.4rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(99, 31, 122, .12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.icon-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-200);
}
.icon-box-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand);
  border: 1px solid var(--brand-200);
}
.icon-box-ico svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-box h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  color: var(--brand-ink);
}
.icon-box p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

/* Services grid */
#servicii {
  background: var(--bg);
  padding-top: 4rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem 1.45rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-200);
}
.service-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px var(--brand-shadow);
}
.service-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  margin: 0 0 .45rem;
  font-size: 1.08rem;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.55;
}

#servicii .services-dropdown {
  max-width: 760px;
  margin: 0 auto;
}

/* About / consultație */
.about-section {
  border-top: 1px solid var(--border);
}
.about-section .timeline {
  margin-top: .25rem;
}

/* Appointment band */
.appointment-band {
  border-top: none !important;
  padding: 3.25rem 0;
  background:
    linear-gradient(120deg, var(--brand) 0%, #7a2a9e 55%, #631f7a 100%);
  color: #fff;
}
.appointment-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.appointment-band h2 {
  margin: 0 0 .4rem;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
}
.appointment-band p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
}
.appointment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.appointment-band .cta {
  margin-top: 0;
  background: #fff;
  color: var(--brand-ink);
  border-color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
}
.appointment-band .cta:hover {
  background: var(--brand-50);
  color: var(--brand-ink);
}
.appointment-band .cta.whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

@media (max-width: 980px) {
  .icon-boxes { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section .timeline { margin-top: .25rem; }
  .hero-split { padding: 2.5rem 0 3.5rem !important; }
  .hero-split-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-split-media { max-width: 360px; margin: 0 auto; order: -1; }
  .hero-split-frame { aspect-ratio: 4 / 5; }
  .why-section { margin-top: -0.75rem; }
}

@media (max-width: 640px) {
  .icon-boxes,
  .services-grid { grid-template-columns: 1fr; }
  .appointment-inner { flex-direction: column; align-items: flex-start; }
  .appointment-actions { width: 100%; }
  .appointment-actions .cta { flex: 1; text-align: center; }
  .hero-clinic-actions { display: none; }
  .hero-split { padding: 2.25rem 0 2.75rem !important; }
  .hero-split-media { max-width: 280px; }
}
