/* ==========================================================================
   Nesterra — stiluri de bază
   Valorile vin din Styleguide-ul din Figma (Nesterra · Styleguide v1.0).
   ========================================================================== */

/* ---------- 1. Variabile (design tokens) ---------- */
:root {
  /* Culori brand */
  --forest: #1f3a2e;
  --forest-700: #2c4d3e;
  --forest-900: #16291f;
  --ivory: #f6f2ea;
  --charcoal: #2b3a33;
  --sage: #a7b5a0;
  --sage-700: #5f7058;
  --terracotta: #c47f65;
  --terracotta-700: #94573f;
  --sand: #efe8db;
  --stone: #e3dacb;
  --muted: #56635c;
  --white: #ffffff;

  /* Culori piloni */
  --pillar-miscare: #7e9c6e;
  --pillar-miscare-tint: #e4eadd;
  --pillar-forta-tint: #f3e2d8;
  --pillar-mobilitate-tint: #e0eaea;
  --pillar-mancare-tint: #f5e9cf;
  --pillar-minte-tint: #e9e3ec;
  --pillar-forta: #c47f65;
  --pillar-mobilitate: #7fa1a8;
  --pillar-mancare: #d9a651;
  --pillar-minte: #9a88a6;

  /* Fonturi */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spațiere (scară 4/8) */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;
  --space-128: 128px;

  /* Colțuri */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-full: 999px;

  /* Grid */
  --container: 1280px;
  --gutter: 24px;
  --page-margin: 80px;
  --section-y: var(--space-128);

  /* Efecte */
  --shadow-floating: 0 8px 24px rgba(31, 59, 46, 0.18);
  --glass-bg: rgba(246, 242, 234, 0.74);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --duration: 200ms;
}

@media (max-width: 1023px) {
  :root {
    --page-margin: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --page-margin: 24px;
    --section-y: var(--space-80);
  }
}

/* ---------- 2. Reset minim ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

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

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 20px;
  background: var(--forest);
  color: var(--ivory);
  border-radius: var(--radius-sm);
}

/* ---------- 3. Tipografie ---------- */
.serif,
.t-display-xl,
.t-display-l,
.t-h2,
.t-h3,
.t-quote,
.t-price {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-optical-sizing: auto;
  color: var(--forest);
}

.t-display-xl {
  font-size: 76px;
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.t-display-l {
  font-size: 60px;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.t-h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.t-h3 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.005em;
}

.t-quote {
  font-size: 40px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.24;
  letter-spacing: -0.005em;
}

.t-price {
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.015em;
}

.t-h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--forest);
}

.t-body-l {
  font-size: 20px;
  line-height: 1.6;
}

.t-body-m {
  font-size: 17px;
  line-height: 1.65;
}

.t-body-s {
  font-size: 15px;
  line-height: 1.6;
}

.t-eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.t-muted {
  color: var(--muted);
}

@media (max-width: 767px) {
  .t-display-xl,
  .t-display-l {
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -0.01em;
  }
  .t-h2 {
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.005em;
  }
  .t-quote {
    font-size: 30px;
  }
  .t-body-l {
    font-size: 18px;
  }
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--page-margin));
  margin-inline: auto;
  padding-inline: var(--page-margin);
}

.section {
  padding-block: var(--section-y);
}

.section--sand {
  background: var(--sand);
}

.section--forest {
  background: var(--forest);
  color: var(--ivory);
}

/* Iconițe din sprite */
.icon {
  flex: none;
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   5. Componente
   ========================================================================== */

/* ---------- Buton ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 28px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease),
    gap var(--duration) var(--ease), padding var(--duration) var(--ease);
}

.btn .icon {
  width: 20px;
  height: 20px;
}

/* La hover săgeata se depărtează puțin, fără ca butonul să-și schimbe lățimea */
.btn:hover {
  gap: 16px;
  padding-right: 22px;
}

.btn--s {
  padding: 14px 20px;
  font-size: 13px;
}

.btn--s .icon {
  width: 18px;
  height: 18px;
}

.btn--s:hover {
  padding-right: 14px;
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--primary {
  background: var(--forest);
  color: var(--ivory);
}

.btn--primary:hover {
  background: var(--forest-700);
}

.btn--secondary {
  background: transparent;
  color: var(--forest);
  box-shadow: inset 0 0 0 1.5px var(--forest);
}

.btn--secondary:hover {
  background: var(--forest);
  color: var(--ivory);
}

.btn--on-dark {
  background: var(--ivory);
  color: var(--forest);
}

.btn--on-dark:hover {
  background: var(--sage);
}

.btn--link {
  padding: 6px 4px 6px 0;
  background: none;
  color: var(--forest);
}

.btn--link:hover {
  gap: 14px;
  padding-right: 0;
}

.btn--link.btn--s:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Link nav ---------- */
.nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0 2px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--charcoal);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background-color var(--duration) var(--ease);
}

.nav-link:hover {
  color: var(--forest);
}

.nav-link:hover::after {
  background: var(--terracotta);
}

.nav-link[aria-current="page"] {
  font-weight: 600;
  color: var(--forest);
}

.nav-link[aria-current="page"]::after {
  background: var(--forest);
}

/* ---------- Header / bara de navigare ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 58, 46, 0.1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.site-logo {
  display: block;
  flex: none;
}

.site-logo img {
  width: 160px;
  height: auto;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  flex: none;
}

.icon-btn .icon {
  width: 22px;
  height: 22px;
}

.icon-btn--forest {
  background: var(--forest);
  color: var(--ivory);
}

.icon-btn--ivory {
  background: var(--ivory);
  color: var(--forest);
}

.site-header__menu-btn {
  display: none;
}

@media (max-width: 1023px) {
  .site-header__inner {
    height: 68px;
  }
  .site-header .container {
    padding-inline: 20px;
  }
  .site-logo img {
    width: 128px;
  }
  .site-header__actions {
    display: none;
  }
  .site-header__menu-btn {
    display: inline-flex;
  }
}

/* ---------- Meniu mobil ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 12px 24px 32px;
  background: var(--forest);
  color: var(--ivory);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease),
    visibility 0s linear var(--duration);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  flex: none;
}

.mobile-menu__top .site-logo img {
  width: 128px;
}

.mobile-menu__list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(246, 242, 234, 0.15);
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 28px;
  line-height: 1.24;
  letter-spacing: -0.005em;
}

.mobile-menu__link .icon {
  width: 20px;
  height: 20px;
  transition: transform var(--duration) var(--ease);
}

.mobile-menu__link:hover .icon,
.mobile-menu__link[aria-current="page"] .icon {
  transform: translateX(4px);
}

.mobile-menu__link[aria-current="page"] {
  color: var(--sage);
}

.mobile-menu__bottom {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu__note {
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  color: rgba(246, 242, 234, 0.75);
}

body.menu-open {
  overflow: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest);
  color: var(--ivory);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-block: 96px 104px;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 300px;
  flex: none;
}

.site-footer__tagline {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-size: 24px;
  line-height: 1.24;
  letter-spacing: -0.005em;
}

.site-footer__parent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--sage);
}

.site-footer__parent .icon {
  width: 20px;
  height: 20px;
}

.site-footer__parent:hover {
  color: var(--ivory);
}

.site-footer__cols {
  display: flex;
  gap: 44px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__heading {
  margin-bottom: 4px;
  color: var(--sage);
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__text {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(246, 242, 234, 0.78);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(246, 242, 234, 0.78);
  transition: color var(--duration) var(--ease);
}

.footer-link::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.footer-link:hover {
  color: var(--ivory);
}

.footer-link:hover::after {
  opacity: 1;
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  box-shadow: inset 0 0 0 1.5px rgba(246, 242, 234, 0.35);
  color: var(--ivory);
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.social-btn .icon {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  background: var(--ivory);
  color: var(--forest);
}

.site-footer__newsletter {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 296px;
  flex: none;
}

.site-footer__newsletter p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246, 242, 234, 0.8);
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 20px;
  background: rgba(246, 242, 234, 0.08);
  border: 1px solid rgba(246, 242, 234, 0.28);
  border-radius: var(--radius-md);
}

.newsletter-form:focus-within {
  border-color: rgba(246, 242, 234, 0.6);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ivory);
}

.newsletter-form input::placeholder {
  color: rgba(246, 242, 234, 0.6);
}

.newsletter-form input:focus {
  outline: none;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(246, 242, 234, 0.15);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246, 242, 234, 0.65);
}

.site-footer__company {
  flex-basis: 100%;
  font-size: 14px;
  color: rgba(246, 242, 234, 0.55);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal a:hover {
  color: var(--ivory);
}

.site-footer__lang {
  display: flex;
  gap: 4px;
  color: rgba(246, 242, 234, 0.35);
}

.site-footer__lang a {
  color: rgba(246, 242, 234, 0.55);
}

.site-footer__lang [aria-current="true"] {
  font-weight: 700;
  color: var(--ivory);
}

@media (max-width: 1199px) {
  .site-footer__top {
    flex-wrap: wrap;
  }
  .site-footer__newsletter {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 767px) {
  .site-footer__inner {
    gap: 48px;
    padding-block: 64px 48px;
  }
  .site-footer__top {
    flex-direction: column;
    gap: 40px;
  }
  .site-footer__brand {
    width: 100%;
  }
  .site-footer__cols {
    flex-wrap: wrap;
    gap: 32px 44px;
  }
  .site-footer__newsletter {
    max-width: none;
  }
  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

}

/* ---------- Înapoi sus ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--forest);
  color: var(--ivory);
  box-shadow: inset 0 0 0 1.5px rgba(246, 242, 234, 0.6), 0 8px 12px rgba(31, 59, 46, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease),
    background-color var(--duration) var(--ease), visibility 0s linear var(--duration);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.back-to-top .icon {
  width: 22px;
  height: 22px;
  transition: transform var(--duration) var(--ease);
}

.back-to-top:hover {
  background: var(--forest-700);
}

.back-to-top:hover .icon {
  transform: translateY(-4px);
}

/* ---------- Câmpuri de formular ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox[hidden],
.field[hidden] {
  display: none;
}

.field__label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--charcoal);
}

.field__label .req {
  color: var(--terracotta-700);
}

.field__control {
  position: relative;
}

.input,
.textarea,
.select {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 15px 18px;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.textarea {
  min-height: 152px;
  resize: vertical;
}

.select {
  padding-right: 50px;
  cursor: pointer;
}

.field__control .icon {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--forest);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.input:hover,
.textarea:hover,
.select:hover {
  border-color: var(--sage);
}

.input:not(:placeholder-shown),
.textarea:not(:placeholder-shown),
.select.is-filled {
  border-color: var(--forest);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 0.5px var(--forest), 0 0 0 4px rgba(167, 181, 160, 0.45);
}

.input:focus::placeholder,
.textarea:focus::placeholder {
  opacity: 0.6;
}

.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select {
  border-color: #b4472f;
}

.field__error {
  font-size: 15px;
  line-height: 1.6;
  color: #b4472f;
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
  cursor: pointer;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.checkbox__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ivory);
  transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.checkbox__box .icon {
  width: 16px;
  height: 16px;
  opacity: 0;
}

.checkbox:hover .checkbox__box {
  border-color: var(--sage);
}

.checkbox input:checked + .checkbox__box {
  background: var(--forest);
  border-color: var(--forest);
}

.checkbox input:checked + .checkbox__box .icon {
  opacity: 1;
}

.checkbox input:focus-visible + .checkbox__box {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.checkbox a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Checkbox pe fundal închis (newsletterul din footer) */
.checkbox--on-dark {
  font-size: 14px;
  color: rgba(246, 242, 234, 0.8);
}

.checkbox--on-dark .checkbox__box {
  border-color: rgba(246, 242, 234, 0.45);
  background: transparent;
}

.checkbox--on-dark:hover .checkbox__box {
  border-color: var(--ivory);
}

.checkbox--on-dark input:checked + .checkbox__box {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--forest);
}

/* ---------- Program (ScheduleItem) ---------- */
.schedule-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-block: 18px;
  border-top: 1px solid var(--stone);
}

.schedule-item__time {
  flex: none;
  width: 64px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--terracotta-700);
}

.schedule-item__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--forest);
}

.schedule-item__desc {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Card info (contact) ---------- */
.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-md);
  background: var(--sand);
  transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--ivory);
  color: var(--forest);
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.info-card__icon .icon {
  width: 22px;
  height: 22px;
}

.info-card__text {
  flex: 1;
  min-width: 0;
}

.info-card__label,
.info-card__value {
  display: block;
}

.info-card__label {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.info-card__value {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--forest);
  overflow-wrap: anywhere;
}

.info-card__arrow {
  width: 20px;
  height: 20px;
  color: var(--forest);
  opacity: 0.35;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

a.info-card:hover {
  background: var(--white);
  border-color: var(--forest);
}

a.info-card:hover .info-card__icon {
  background: var(--forest);
  color: var(--ivory);
}

a.info-card:hover .info-card__arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* ---------- Întrebări frecvente (FAQ) ---------- */
.faq-item {
  border-bottom: 1.5px solid var(--stone);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 26px;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__q {
  flex: 1;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--charcoal);
  transition: color var(--duration) var(--ease);
}

.faq-item__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--sand);
  color: var(--forest);
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.faq-item__toggle .icon {
  width: 20px;
  height: 20px;
}

.faq-item__toggle .icon--minus,
.faq-item[open] .faq-item__toggle .icon--plus {
  display: none;
}

.faq-item[open] .faq-item__toggle .icon--minus {
  display: block;
}

.faq-item summary:hover .faq-item__q,
.faq-item[open] .faq-item__q {
  color: var(--forest);
}

.faq-item summary:hover .faq-item__toggle,
.faq-item[open] .faq-item__toggle {
  background: var(--forest);
  color: var(--ivory);
}

.faq-item__a {
  margin-top: -12px;
  padding-bottom: 26px;
  padding-right: 68px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.faq-item__a a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .faq-item summary {
    gap: 16px;
    padding-block: 20px;
  }
  .faq-item__q {
    font-size: 18px;
  }
  .faq-item__a {
    padding-right: 0;
    padding-bottom: 20px;
  }
}

/* ---------- Pilon (PillarFeature) ---------- */
.pillar-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--sand);
}

.pillar-card__photo {
  position: relative;
  aspect-ratio: 368 / 276;
  overflow: hidden;
}

.pillar-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.pillar-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--ivory);
  color: var(--forest);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.pillar-card__arrow .icon {
  width: 18px;
  height: 18px;
}

.pillar-card:hover .pillar-card__photo img {
  transform: scale(1.03);
}

.pillar-card:hover .pillar-card__arrow {
  opacity: 1;
  transform: none;
}

.pillar-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 28px;
  flex: 1;
}

.pillar-card__rule {
  height: 1px;
  background: var(--forest);
}

.pillar-card__row {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.pillar-card__num {
  flex: none;
  width: 40px;
  color: var(--muted);
}

.pillar-card__divider {
  flex: none;
  width: 1px;
  background: var(--forest);
}

.pillar-card__desc {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
}

/* ---------- Pas (StepCard) ---------- */
.step-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px 32px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.step-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--sand);
  color: var(--forest);
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.step-card__icon .icon {
  width: 28px;
  height: 28px;
}

.step-card__num {
  color: var(--sage-700);
}

.step-card__when {
  color: var(--terracotta-700);
}

.step-card__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.step-card:hover {
  background: var(--white);
  border-color: var(--stone);
}

.step-card:hover .step-card__icon {
  background: var(--forest);
  color: var(--ivory);
}

/* ---------- Echipă (TeamCard) ---------- */
.team-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-card__photo {
  position: relative;
  aspect-ratio: 296 / 370;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fețele stau în treimea de sus a portretelor; când cardul e mai lat, păstrăm capul în cadru. */
  object-position: 50% 15%;
}

.team-card__bio {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
}

.team-card__role {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Card de preț ---------- */
.price-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border: 1.5px solid var(--stone);
  border-radius: var(--radius-md);
  background: var(--sand);
  transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.price-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 33px;
}

.price-card__label {
  color: var(--terracotta-700);
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: var(--terracotta);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--forest);
  white-space: nowrap;
}

.price-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
}

.price-card__unit {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.price-card__note {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.price-card__rule {
  height: 1px;
  margin-block: 24px;
  background: var(--stone);
}

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
}

.price-card__list .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--forest);
}

.price-card__cta {
  margin-top: auto;
}

.price-card:hover {
  background: var(--white);
  border-color: var(--forest);
}

.price-card--featured {
  background: var(--forest);
  border-color: var(--forest);
}

.price-card--featured .price-card__label {
  color: var(--sage);
}

.price-card--featured .t-price,
.price-card--featured .price-card__list li,
.price-card--featured .price-card__list .icon {
  color: var(--ivory);
}

.price-card--featured .price-card__unit,
.price-card--featured .price-card__note {
  color: rgba(246, 242, 234, 0.8);
}

.price-card--featured .price-card__rule {
  background: rgba(246, 242, 234, 0.25);
}

.price-card--featured:hover {
  background: var(--forest-700);
  border-color: var(--forest);
}

.price-card.is-soldout,
.price-card.is-ended {
  opacity: 0.6;
}

.btn.is-disabled {
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  cursor: default;
  pointer-events: none;
}

/* ---------- Bandă CTA ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 140px var(--page-margin);
  text-align: center;
  color: var(--ivory);
  overflow: hidden;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 41, 31, 0.74);
}

.cta-band__eyebrow {
  color: var(--sage);
}

.cta-band__title {
  max-width: 820px;
  color: var(--ivory);
}

.cta-band__body {
  max-width: 620px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 16px;
}

@media (max-width: 767px) {
  .cta-band {
    padding-block: 96px;
    gap: 20px;
  }
  .cta-band__actions {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }
  .cta-band__actions .btn {
    width: 100%;
  }
}

/* ---------- Hartă ---------- */
.map-card {
  position: relative;
  aspect-ratio: 640 / 520;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--sand);
  container-type: inline-size;
}

.map-card__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-card__label {
  position: absolute;
  font-size: max(12px, 2.35cqi);
  line-height: 1.6;
  white-space: nowrap;
  color: var(--charcoal);
}

.map-card__label--city {
  font-weight: 700;
  font-size: max(13px, 2.65cqi);
}

.map-card__label--town {
  font-weight: 700;
}

.map-card__label--muted {
  color: var(--muted);
}

.map-card__label--river {
  color: var(--pillar-mobilitate);
}

.map-card__label--mountains {
  font-family: var(--font-serif);
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-style: italic;
  font-weight: 300;
  font-size: max(14px, 3.45cqi);
  color: var(--forest);
}

.map-card__pin {
  position: absolute;
  left: 47.5%;
  top: 44.6%;
  width: 6.875%;
}

.map-card__popup {
  position: absolute;
  left: 55.6%;
  top: 33.8%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(31, 59, 46, 0.14);
  font-size: 15px;
  line-height: 1.6;
  white-space: nowrap;
}

.map-card__popup strong {
  display: block;
  color: var(--forest);
}

.map-card__popup span {
  color: var(--muted);
}

.map-card__cta {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--ivory);
}

@media (max-width: 560px) {
  .map-card {
    aspect-ratio: 4 / 5;
  }
  .map-card__art {
    object-fit: cover;
    object-position: 45% 50%;
  }
  .map-card__popup {
    left: auto;
    right: 12px;
    top: 16px;
    font-size: 13px;
  }
  .map-card__label {
    display: none;
  }
  .map-card__pin {
    left: 44%;
    top: 46%;
    width: 44px;
  }
  .map-card__cta {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- Mesaje formulare ---------- */
.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.6;
}

.form-notice > .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.form-notice__title {
  font-size: 17px;
  font-weight: 600;
}

.form-notice ul {
  margin: 4px 0 0;
  padding-left: 1.2em;
}

.form-notice--success {
  background: var(--pillar-miscare-tint);
  border: 1.5px solid var(--pillar-miscare);
  color: var(--forest);
}

.form-notice--error {
  background: #f8e9e4;
  border: 1.5px solid #b4472f;
  color: #7a2e1d;
}

/* Câmpul-capcană pentru roboți: ascuns pentru oameni */
.nesterra-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-done {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(246, 242, 234, 0.28);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ivory);
}

.newsletter-done .icon {
  width: 20px;
  height: 20px;
  color: var(--sage);
}

.newsletter-error {
  font-size: 15px;
  line-height: 1.6;
  color: #f0b9a6;
}

/* ---------- Adaugă în calendar ---------- */
.calendar-links {
  margin-top: 20px;
}

.calendar-links__title {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--forest);
}

.calendar-links__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.field__hint {
  margin-top: -6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- WhatsApp (buton fix în colț) ---------- */
.wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* Butonul „Înapoi sus” urcă deasupra butonului de WhatsApp. */
.wa ~ .back-to-top {
  bottom: 96px;
}

.wa__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 24px 0 18px;
  border-radius: var(--radius-full);
  background: var(--forest);
  color: var(--ivory);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: inset 0 0 0 1.5px rgba(246, 242, 234, 0.35), 0 12px 28px rgba(22, 41, 31, 0.28);
  transition: background-color var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.wa__toggle:hover {
  background: var(--forest-700);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1.5px rgba(246, 242, 234, 0.45), 0 16px 32px rgba(22, 41, 31, 0.32);
}

.wa__toggle:focus-visible,
.wa__topic:focus-visible,
.wa__close:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.wa__glyph {
  width: 26px;
  height: 26px;
  flex: none;
  color: #25d366;
}

.wa__panel {
  width: 340px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  border-radius: 16px;
  background: var(--ivory);
  box-shadow: 0 24px 60px rgba(22, 41, 31, 0.28), 0 0 0 1px rgba(31, 58, 46, 0.08);
  transform-origin: bottom right;
  animation: wa-in 220ms var(--ease);
}

@keyframes wa-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.wa__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 18px;
  background: var(--forest);
  color: var(--ivory);
}

.wa__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: 50% 20%;
  box-shadow: 0 0 0 2px rgba(246, 242, 234, 0.6);
}

.wa__who {
  flex: 1;
  min-width: 0;
}

.wa__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.wa__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #c9d6cd;
}

.wa__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}

.wa__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 0;
  border-radius: var(--radius-full);
  background: rgba(246, 242, 234, 0.12);
  color: var(--ivory);
  cursor: pointer;
}

.wa__close .icon {
  width: 18px;
  height: 18px;
}

.wa__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--sand);
}

.wa__bubble {
  align-self: flex-start;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  background: var(--white);
  font-size: 15px;
  line-height: 1.5;
  color: var(--charcoal);
  box-shadow: 0 1px 2px rgba(22, 41, 31, 0.08);
}

.wa__topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa__topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--stone);
  border-radius: 10px;
  background: var(--ivory);
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  transition: border-color var(--duration) var(--ease), background-color var(--duration) var(--ease);
}

.wa__topic:hover {
  border-color: var(--forest);
  background: var(--white);
}

.wa__topic .icon {
  width: 16px;
  height: 16px;
  flex: none;
}

.wa__note {
  padding: 10px 18px 12px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}

/* Cât timp panoul e deschis, „Înapoi sus” nu stă sub el. */
body.wa-open .back-to-top {
  visibility: hidden;
  opacity: 0;
}

/* Cât timp meniul de pe mobil e deschis, butonul se ascunde. */
body.menu-open .wa {
  display: none;
}

@media (max-width: 767px) {
  .wa {
    right: 16px;
    bottom: 16px;
  }
  .wa ~ .back-to-top {
    right: 20px;
    bottom: 88px;
  }
  .wa__toggle {
    width: 60px;
    height: 60px;
    padding: 0;
    justify-content: center;
  }
  .wa__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .wa__glyph {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa__panel {
    animation: none;
  }
  .wa__toggle:hover {
    transform: none;
  }
}

@media print {
  .wa {
    display: none;
  }
}


/* ---------- Bannerul de acord (statistici și reclame) ---------- */
.consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1000;
  max-width: 440px;
  padding: 24px 24px 20px;
  background: var(--ivory);
  color: var(--forest);
  border: 1px solid rgba(31, 58, 46, 0.14);
  box-shadow: 0 18px 50px rgba(18, 30, 24, 0.22);
}
.consent[hidden] { display: none; }
.consent__title {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.consent__text {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
}
.consent__text a { color: var(--terracotta-700); text-decoration: underline; }
.consent__actions { display: flex; gap: 12px; }
.consent__actions .btn { flex: 1; justify-content: center; }
body.consent-open .wa,
body.consent-open .back-to-top { display: none; }
@media (max-width: 600px) {
  .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 20px 18px 16px; }
}
