/* ============================================================
   CORAL BABY — cabinet de recuperare medicală pediatrică
   Direcție: cald & empatic, axat pe speranță.
   Paletă: extrasă din logo (coral #F47B70, bleu #72BAE2, bleumarin #2E3A4E)
           + pasteluri calmante (mentă, piersică, galben pal).
   Forme: organice, colțuri rotunjite, valuri — zero unghiuri ascuțite.
   Tipografie: Quicksand (titluri) / Nunito (text) / Caveat (accente scrise de mână)
   ============================================================ */

/* ------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------ */
:root {
  /* --- coral (din logo) --- */
  --coral-50:  #fff3ef;
  --coral-100: #ffe1d8;
  --coral-200: #ffc6b8;
  --coral-400: #f47b70;   /* culoarea exactă din logo */
  --coral-600: #d9533f;
  --coral-700: #c24436;   /* singura variantă sigură pentru text/butoane (AA) */

  /* --- bleu (din logo) --- */
  --sky-50:   #eff8fd;
  --sky-100:  #dceffa;
  --sky-300:  #a6d6ef;
  --sky-400:  #72bae2;    /* culoarea exactă din logo */
  --sky-700:  #1f6e9b;    /* variantă accesibilă (AA) */

  /* --- pasteluri calmante --- */
  --mint-100: #e2f5f0;
  --mint-300: #a9ded2;
  --sun-100:  #fdefc9;
  --peach-100:#ffe3d6;

  /* --- neutre --- */
  --ink:      #2e3a4e;    /* bleumarinul coloanei din logo */
  --ink-soft: #5a6678;
  --cream:    #fffaf7;
  --cream-2:  #fef4ee;
  --paper:    #ffffff;
  --line:     #f1e2da;

  /* --- forme organice --- */
  --r-xs:   10px;
  --r-sm:   16px;
  --r:      24px;
  --r-lg:   32px;
  --r-xl:   44px;
  --r-pill: 999px;
  --blob-a: 58% 42% 47% 53% / 46% 51% 49% 54%;
  --blob-b: 44% 56% 62% 38% / 55% 42% 58% 45%;

  /* --- umbre calde (nu gri) --- */
  --sh-xs: 0 2px 8px rgba(46, 58, 78, .05);
  --sh-sm: 0 6px 18px rgba(196, 108, 90, .09);
  --sh:    0 14px 38px rgba(196, 108, 90, .13);
  --sh-lg: 0 26px 60px rgba(46, 58, 78, .16);

  /* --- layout --- */
  --maxw: 1160px;
  --nav-h: 76px;

  /* --- tipografie --- */
  --font-display: "Quicksand", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  /* --- mișcare --- */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t: .28s;
}

/* ------------------------------------------------------------
   2. RESET & BAZĂ
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 4.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--coral-200); color: var(--ink); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--sky-700);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* link de sărire pentru navigare cu tastatura */
.skip-link {
  position: absolute; left: 14px; top: -70px; z-index: 300;
  background: var(--ink); color: #fff;
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------
   3. UTILITARE
   ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2rem); }
.container--narrow { max-width: 840px; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tint  { background: var(--cream-2); }
.section--sky   { background: var(--sky-50); }
.section--mint  { background: var(--mint-100); }
.section--ink   { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-weight: 800; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--coral-700);
  margin: 0 0 .85rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--coral-400), var(--sky-400));
}
.section--ink .eyebrow { color: var(--sky-300); }

.hand {
  font-family: var(--font-hand);
  font-size: 1.45em;
  line-height: 1;
  /* coral-600 pica testul de contrast la 22px greutate normala (3,68:1).
     coral-700 + weight 700 trece AA pe toate fundalurile site-ului. */
  color: var(--coral-700);
  font-weight: 700;
}

.lead { font-size: clamp(1.06rem, 2.1vw, 1.24rem); color: var(--ink-soft); }
.section--ink .lead { color: rgba(255,255,255,.82); }

.section-head { max-width: 700px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------
   4. BUTOANE
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease);
  text-align: center;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--primary { background: var(--coral-700); color: #fff; box-shadow: var(--sh-sm); }
.btn--primary:hover { background: var(--coral-600); transform: translateY(-2px); box-shadow: var(--sh); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--coral-200); }
.btn--ghost:hover { background: var(--coral-50); border-color: var(--coral-400); transform: translateY(-2px); }

.btn--sky { background: var(--sky-700); color: #fff; box-shadow: var(--sh-sm); }
.btn--sky:hover { background: #17587d; transform: translateY(-2px); box-shadow: var(--sh); }

.btn--light { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--sh); }

.btn--sm { padding: .6rem 1.15rem; font-size: .92rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* legătură cu săgeată */
.arrow-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700;
  color: var(--coral-700);
}
.arrow-link::after { content: "→"; transition: transform var(--t) var(--ease); }
.arrow-link:hover::after { transform: translateX(5px); }

/* ------------------------------------------------------------
   5. NAVIGAȚIE
   ------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 1.25rem;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.nav.is-scrolled { background: rgba(255, 250, 247, .92); backdrop-filter: blur(12px); box-shadow: 0 2px 24px rgba(46,58,78,.07); }

.nav__brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; }
.nav__brand img { width: 46px; height: 46px; border-radius: var(--r-pill); }
.nav__name {
  font-family: var(--font-hand); font-size: 1.65rem; font-weight: 700; line-height: 1;
  color: var(--coral-600); white-space: nowrap;
}
.nav__name em { font-style: normal; color: var(--sky-700); }
.nav__tag { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

.nav__links { display: flex; align-items: center; gap: 1.5rem; }
.nav__links a:not(.btn) {
  font-family: var(--font-display); font-weight: 600; font-size: .97rem;
  color: var(--ink); position: relative; padding-block: .35rem;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  border-radius: var(--r-pill); background: var(--coral-400);
  transition: right var(--t) var(--ease);
}
.nav__links a:not(.btn):hover::after, .nav__links a:not(.btn)[aria-current="page"]::after { right: 0; }
.nav__links a:not(.btn)[aria-current="page"] { color: var(--coral-700); }

.nav__cta { flex: none; }

/* butonul de telefon din interiorul meniului e doar pentru mobil */
@media (min-width: 961px) { .nav__links .btn { display: none; } }

.nav__toggle {
  display: none; width: 46px; height: 46px; flex: none;
  border: 2px solid var(--coral-200); border-radius: var(--r-pill);
  background: #fff; color: var(--ink);
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; }
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(6px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; position: relative; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    padding: 1rem clamp(1.15rem, 4vw, 2rem) 1.75rem;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: var(--sh);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: .85rem .2rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 1rem; }
}

/* ------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  padding-block: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5rem)) clamp(5rem, 11vw, 9rem);
  background:
    radial-gradient(60% 55% at 85% 8%,  var(--sky-100)   0%, transparent 65%),
    radial-gradient(55% 50% at 8%  85%, var(--coral-50)  0%, transparent 62%),
    radial-gradient(45% 45% at 60% 100%, var(--mint-100) 0%, transparent 60%),
    var(--cream);
}
.hero__inner {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border-radius: var(--r-pill);
  padding: .45rem 1rem .45rem .5rem;
  box-shadow: var(--sh-xs); font-size: .85rem; font-weight: 700; color: var(--ink-soft);
  margin-bottom: 1.15rem;
}
.hero__badge b { color: var(--ink); }
.hero__badge-dot {
  width: 26px; height: 26px; border-radius: var(--r-pill); flex: none;
  background: var(--mint-300); display: grid; place-items: center; font-size: .9rem;
}
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; color: var(--coral-600); }
.hero__sub { font-size: clamp(1.05rem, 2.1vw, 1.22rem); color: var(--ink-soft); max-width: 33ch; margin-bottom: 1.9rem; }
.hero__ctas { margin-bottom: 1.9rem; }
.hero__reassure {
  display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center;
  font-size: .9rem; color: var(--ink-soft);
}
.hero__reassure span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__reassure svg { width: 1.05em; height: 1.05em; color: var(--mint-300); flex: none; }

.hero__art { position: relative; }
.hero__blob {
  position: relative; aspect-ratio: 1 / 1;
  border-radius: var(--blob-a);
  background: linear-gradient(150deg, var(--peach-100), var(--sky-100) 55%, var(--mint-100));
  display: grid; place-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  animation: blob-morph 16s ease-in-out infinite;
  box-shadow: var(--sh);
}
@keyframes blob-morph {
  0%, 100% { border-radius: var(--blob-a); }
  50%      { border-radius: var(--blob-b); }
}
.hero__blob img { width: 88%; height: auto; filter: drop-shadow(0 12px 30px rgba(46,58,78,.12)); }

/* varianta cu fotografie: umple forma organica, fara padding */
.hero__blob--photo { padding: 0; overflow: hidden; }
.hero__blob--photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; filter: none;
}

.hero__chip {
  position: absolute; background: #fff; border-radius: var(--r);
  padding: .7rem 1rem; box-shadow: var(--sh-sm);
  font-size: .84rem; font-weight: 700; line-height: 1.35;
  display: flex; align-items: center; gap: .6rem;
  animation: float 6s ease-in-out infinite;
}
.hero__chip b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--coral-700); }
.hero__chip em { font-style: normal; }
.hero__chip--1 { top: 6%; left: -4%; }
.hero__chip--2 { bottom: 10%; right: -3%; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__sub { max-width: none; }
  .hero__art { order: -1; max-width: 360px; margin-inline: auto; }
  .hero__chip--1 { left: -3%; }
  .hero__chip--2 { right: -3%; }
}
/* pe telefon, plăcuțele ies de peste logo și stau dedesubt, pe un singur rând */
@media (max-width: 640px) {
  .hero__art {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem;
    max-width: 340px; position: relative;
  }
  .hero__blob { flex: 1 0 100%; }
  .hero__chip {
    position: static; animation: none; box-shadow: var(--sh-xs);
    padding: .45rem .9rem; font-size: .82rem;
  }
  .hero__chip b { display: inline; font-size: .95rem; }
  .hero__chip em { display: none; }
}

/* Val organic ca separator de secțiune.
   `--from-*` = fundalul secțiunii de deasupra, `--to-*` = culoarea secțiunii de dedesubt. */
.wave { display: block; width: 100%; height: clamp(38px, 6vw, 74px); margin-bottom: -1px; }
.wave path { fill: currentColor; }
.wave--from-cream { background: var(--cream); }
.wave--from-tint  { background: var(--cream-2); }
.wave--from-sky   { background: var(--sky-50); }
.wave--from-mint  { background: var(--mint-100); }
.wave--to-cream { color: var(--cream); }
.wave--to-tint  { color: var(--cream-2); }
.wave--to-sky   { color: var(--sky-50); }
.wave--to-mint  { color: var(--mint-100); }
.wave--to-ink   { color: var(--ink); }

/* valul din hero stă peste degradeu, deci fără fundal propriu */
.hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; background: transparent; margin: 0; }

/* ------------------------------------------------------------
   7. CARDURI
   ------------------------------------------------------------ */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--sh-xs);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .75rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
a.card:hover, .card--link:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--coral-200); }
.card h3 { margin-bottom: .1rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card__foot { margin-top: auto; padding-top: .6rem; }

.card__icon {
  width: 62px; height: 62px; flex: none;
  border-radius: var(--blob-a);
  display: grid; place-items: center;
  background: var(--coral-50); color: var(--coral-700);
  margin-bottom: .35rem;
}
.card__icon svg { width: 30px; height: 30px; }
.card__icon--sky  { background: var(--sky-100);  color: var(--sky-700); }
.card__icon--mint { background: var(--mint-100); color: #2b7a68; }
.card__icon--sun  { background: var(--sun-100);  color: #9a6f13; }
.card__icon--peach{ background: var(--peach-100);color: var(--coral-700); }

.card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-size: .78rem; font-weight: 700; color: var(--ink-soft);
  background: var(--cream-2); border-radius: var(--r-pill);
  padding: .28rem .75rem; border: 1px solid var(--line);
}
.tag--sky { background: var(--sky-50); border-color: var(--sky-100); color: var(--sky-700); }

/* pași — cum decurge */
.steps { counter-reset: step; display: grid; gap: clamp(1.1rem, 2.4vw, 1.5rem); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 2.4rem 1.5rem 1.6rem; box-shadow: var(--sh-xs); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 1.5rem;
  width: 44px; height: 44px; border-radius: var(--blob-b);
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--coral-400), var(--coral-600));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  box-shadow: var(--sh-sm);
}
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* listă cu bifă */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .28rem;
  border-radius: var(--r-pill); background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b7a68' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--ink .check-list li::before { background-color: rgba(169,222,210,.22); }

/* listă de afecțiuni (pastile) */
.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-list li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .55rem 1.1rem; font-size: .94rem; font-weight: 600; box-shadow: var(--sh-xs);
}

/* ------------------------------------------------------------
   8. BANDĂ DE ÎNCREDERE / STATISTICI
   ------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem); line-height: 1.1; color: var(--coral-600);
}
.section--ink .stat b { color: var(--sky-300); }
.stat span { font-size: .9rem; color: var(--ink-soft); }
.section--ink .stat span { color: rgba(255,255,255,.75); }

/* ------------------------------------------------------------
   9. SPLIT (imagine + text)
   ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media img,
.split__media .media-ph {
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
  width: 100%;
}

/* placeholder pentru fotografiile reale ale cabinetului */
.media-ph {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(45% 45% at 30% 25%, var(--peach-100), transparent 70%),
    radial-gradient(50% 50% at 78% 70%, var(--sky-100), transparent 70%),
    var(--cream-2);
  /* NU place-content:center — cu justify-content centrat, coloana se dimensioneaza
     la max-content si textul refuza sa se rupa, umfland pagina pe telefon. */
  display: grid; align-content: center; justify-items: center;
  gap: .5rem; text-align: center;
  color: var(--ink-soft); padding: clamp(1rem, 5vw, 2rem);
  border: 2px dashed var(--coral-200);
}
.media-ph svg { width: 46px; height: 46px; margin-inline: auto; color: var(--coral-400); }
.media-ph b { font-family: var(--font-display); color: var(--ink); }
.media-ph small { font-size: .82rem; }

/* ------------------------------------------------------------
   10. CITAT / MESAJ PRINCIPAL
   ------------------------------------------------------------ */
.promise {
  background: linear-gradient(140deg, var(--coral-50), var(--sky-50) 60%, var(--mint-100));
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  position: relative; overflow: hidden;
}
.promise__quote {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.25; color: var(--ink); margin: 0 auto .9rem;
  /* 700, la fel ca .hand — o singura greutate de Caveat de descarcat */
  max-width: 20ch; font-weight: 700;
}
.promise p { max-width: 58ch; margin-inline: auto; color: var(--ink-soft); }

/* ------------------------------------------------------------
   11. FAQ
   ------------------------------------------------------------ */
.faq { display: grid; gap: .8rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: .35rem 1.35rem; box-shadow: var(--sh-xs);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.faq details[open] { border-color: var(--coral-200); box-shadow: var(--sh-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 1.03rem;
  padding: 1.05rem 2.5rem 1.05rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 28px; height: 28px; margin-top: -14px;
  border-radius: var(--r-pill); background: var(--coral-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c24436' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 15px;
  transition: transform var(--t) var(--ease);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding-bottom: 1.15rem; color: var(--ink-soft); }
.faq details > div p:not(:last-child) { margin-bottom: .7rem; }

/* ------------------------------------------------------------
   12. CONTACT
   ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list__icon {
  width: 48px; height: 48px; flex: none; border-radius: var(--blob-a);
  display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--sky-300);
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list__label { font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--sky-300); margin: 0 0 .1rem; }
.contact-list__value { margin: 0; font-size: 1.05rem; }
.contact-list a:hover { text-decoration: underline; }

.map-frame {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
  border: 6px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06);
  aspect-ratio: 4 / 3;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ------------------------------------------------------------
   13. SOCIAL
   ------------------------------------------------------------ */
.social-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.social-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.25rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-weight: 700; font-size: .95rem; color: #fff;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.social-btn:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.social-btn svg { width: 19px; height: 19px; }
.social-row--light .social-btn { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-xs); }
.social-row--light .social-btn:hover { background: var(--coral-50); }

/* ------------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------------ */
.footer { background: var(--cream-2); padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.footer h2 { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: .9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .96rem; }
.footer a:hover { color: var(--coral-700); }
.footer__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.footer__brand img { width: 54px; height: 54px; border-radius: var(--r-pill); }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  justify-content: space-between; align-items: center;
  font-size: .86rem; color: var(--ink-soft);
}
.footer__bottom > div { display: grid; gap: .3rem; }

/* sigiliul gr.AI — semnătura agenției care a construit site-ul */
.grai-badge { flex: none; line-height: 0; }
.grai-badge img {
  width: 104px; height: auto;
  /* fara border-radius: sigiliul are propriul cadru cu coltare, se taie daca il rotunjim */
  transition: transform var(--t) var(--ease), filter var(--t) var(--ease);
}
.grai-badge:hover img { transform: translateY(-2px) scale(1.03); filter: drop-shadow(0 6px 16px rgba(46,58,78,.14)); }
@media (max-width: 620px) {
  .footer__bottom { justify-content: flex-start; }
  .grai-badge img { width: 88px; }
}

.disclaimer {
  background: var(--sun-100); border-radius: var(--r);
  padding: 1.1rem 1.35rem; font-size: .9rem; color: #6b5010;
  display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.5rem;
}
.disclaimer svg { width: 22px; height: 22px; flex: none; margin-top: .15rem; }

/* ------------------------------------------------------------
   15. BARĂ FIXĂ DE ACȚIUNE (mobil)
   ------------------------------------------------------------ */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  display: none; gap: .6rem; padding: .7rem clamp(.8rem, 3vw, 1.2rem);
  padding-bottom: calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 250, 247, .95); backdrop-filter: blur(12px);
  box-shadow: 0 -2px 24px rgba(46,58,78,.1);
}
.action-bar .btn { flex: 1; padding-inline: .8rem; }
@media (max-width: 760px) {
  .action-bar { display: flex; }
  body { padding-bottom: 78px; }
}

/* ------------------------------------------------------------
   16. PAGINI INTERIOARE
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  padding-block: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem)) clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(55% 60% at 88% 0%, var(--sky-100) 0%, transparent 62%),
    radial-gradient(48% 55% at 4% 92%, var(--coral-50) 0%, transparent 60%),
    var(--cream);
}
.page-hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; background: transparent; margin: 0; }
/* valul din hero adaugă deja spațiu — nu îl dubla */
.page-hero + .section { padding-top: clamp(2rem, 4vw, 3.25rem); }
/* hero fără coloană a doua: o singură coloană, fără gol în dreapta */
.page-hero__inner:not(:has(> :nth-child(2))) { grid-template-columns: 1fr; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 62ch; margin-top: 1rem; }
.page-hero__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 880px) { .page-hero__inner { grid-template-columns: 1fr; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .86rem; color: var(--ink-soft); margin-bottom: 1rem; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; opacity: .6; }
.breadcrumb a:hover { color: var(--coral-700); text-decoration: underline; }

/* corpul de articol pentru pagini de serviciu */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.6rem; margin-bottom: .9rem; }
.prose h3 { margin-top: 1.9rem; margin-bottom: .55rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1rem; display: grid; gap: .45rem; }
.prose li::marker { color: var(--coral-400); }
.prose strong { color: var(--ink); }

.note {
  background: var(--sky-50); border-left: 5px solid var(--sky-300);
  border-radius: 0 var(--r) var(--r) 0; padding: 1.15rem 1.4rem; margin: 1.6rem 0;
  font-size: .98rem;
}
.note b { display: block; font-family: var(--font-display); margin-bottom: .25rem; }

/* tabel de program */
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .97rem; }
.hours th, .hours td { padding: .45rem 0; text-align: left; vertical-align: top; }
.hours th { font-weight: 600; color: var(--ink-soft); padding-right: 1rem; }
.hours td { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }

.side-cta {
  position: sticky; top: calc(var(--nav-h) + 20px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--sh-sm);
}
.side-cta h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.side-cta p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.side-cta .btn { width: 100%; margin-bottom: .6rem; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 980px) { .layout-aside { grid-template-columns: 1fr; } .side-cta { position: static; } }

/* ------------------------------------------------------------
   17. PROFIL AI (/ai)
   ------------------------------------------------------------ */
.aip { padding-block: calc(var(--nav-h) + 2.5rem) 4rem; }
.aip h1 { margin-bottom: 1rem; }
.aip .lead { margin-bottom: 1.5rem; }
.aip h2 { margin-top: 2.75rem; margin-bottom: 1rem; }
.aip__facts { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.aip__facts > div { display: grid; grid-template-columns: 230px 1fr; gap: 1rem; padding: .85rem 1.25rem; border-bottom: 1px solid var(--line); }
.aip__facts > div:last-child { border-bottom: 0; }
.aip__facts dt { font-weight: 800; color: var(--ink-soft); font-size: .92rem; }
.aip__facts dd { margin: 0; }
@media (max-width: 640px) { .aip__facts > div { grid-template-columns: 1fr; gap: .15rem; } }
.aip a { color: var(--coral-700); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------
   16b. FOTOGRAFII ȘI FONDATOARE
   ------------------------------------------------------------ */
.page-hero__photo { margin: 0; }
.page-hero__photo img {
  width: 100%; height: auto; border-radius: var(--r-xl);
  box-shadow: var(--sh); aspect-ratio: 3 / 4; object-fit: cover;
}
@media (max-width: 880px) {
  .page-hero__photo { max-width: 340px; margin-inline: auto; }
  .page-hero__photo img { aspect-ratio: 4 / 3; }
}

.photo-card { margin: 0; }
.photo-card img {
  width: 100%; height: auto; border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); aspect-ratio: 3 / 4; object-fit: cover;
}
.photo-card figcaption {
  margin-top: .6rem; font-size: .85rem; color: var(--ink-soft); line-height: 1.45;
}

.price-pill {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: .55rem 1.15rem; margin-top: 1.25rem; font-size: .95rem; box-shadow: var(--sh-xs);
}
.price-pill b { font-family: var(--font-display); color: var(--coral-700); font-size: 1.05rem; }
.price-pill a { color: var(--sky-700); font-weight: 700; text-decoration: underline;
  text-underline-offset: 3px; }

.founder {
  display: grid; grid-template-columns: 260px 1fr; gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--sh-xs); margin: 1.75rem 0;
}
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; } }
.founder__photo {
  width: 100%; height: auto; border-radius: var(--r-lg);
  aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--sh-sm);
}
@media (max-width: 700px) { .founder__photo { max-width: 240px; } }
.founder__body h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.founder__body h4 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-soft); margin: 1.35rem 0 .6rem;
}
.founder__role { color: var(--coral-700); font-weight: 700; font-size: .97rem; }
.founder .check-list li { font-size: .95rem; }

/* ------------------------------------------------------------
   17a. PREȚURI
   ------------------------------------------------------------ */
.price-table { display: grid; gap: .75rem; }

.price-row {
  display: flex; gap: 1rem; align-items: baseline; justify-content: space-between;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.15rem 1.4rem; box-shadow: var(--sh-xs);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.price-row:hover { border-color: var(--coral-200); box-shadow: var(--sh-sm); }
.price-row h3 { font-size: 1.06rem; margin-bottom: .2rem; }
.price-row h3 a { text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--coral-200); }
.price-row h3 a:hover { color: var(--coral-700); text-decoration-color: currentColor; }
.price-row p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

.price-row__amount {
  flex: none; white-space: nowrap; font-size: .9rem; color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.price-row__amount b {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: var(--coral-700); margin-right: .15rem;
}

/* tariful social — marcat, nu ascuns printre celelalte */
.price-row--social {
  background: var(--mint-100); border-color: var(--mint-300);
}
.price-row--social .price-row__amount b { color: #1f6b59; }

@media (max-width: 560px) {
  .price-row { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .price-row__amount { align-self: flex-end; }
}

/* ------------------------------------------------------------
   17b. PROTECȚIE ÎMPOTRIVA DEPĂȘIRII PE ORIZONTALĂ
   Două cauze reale, ambele întâlnite pe mobil:
   1. elementele de grid au implicit `min-width: auto` — un copil care nu
      se poate îngusta (o adresă de e-mail) umflă coloana peste ecran;
   2. `overflow-wrap: anywhere` (nu `break-word`) e singurul care reduce
      și lățimea min-content, deci singurul care rezolvă cauza, nu efectul.
   ------------------------------------------------------------ */
.grid > *, .split > *, .steps > *, .stats > *,
.layout-aside > *, .contact-grid > *, .footer__grid > *,
.hero__inner > *, .page-hero__inner > *, .promise > * { min-width: 0; }

.contact-list__value, .contact-list li,
.aip__facts dd, .aip__facts > div,
.footer ul li, .footer a,
.prose a, .card p, .note { overflow-wrap: anywhere; }

/* ------------------------------------------------------------
   18. ANIMAȚII LA DERULARE
   ------------------------------------------------------------ */
/* apariția se aplică DOAR dacă JS rulează — fără JS, conținutul rămâne vizibil */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   19. TIPAR
   ------------------------------------------------------------ */
@media print {
  .nav, .action-bar, .hero__chip, .map-frame, .btn { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
  .section { padding-block: 1rem; }
}
