/* ==========================================================================
   VSG Consulting — Rediseño home (HTML/CSS/JS estático)
   Sistema visual: Navy #1D2638 · Gold #D4A779 · Deep gold #B98D5F
   Tipografía: Source Serif 4 (titulares) · Golos Text (cuerpo)
   ========================================================================== */

:root {
  --navy: #1D2638;
  --navy-hover: #2A3752;
  --gold: #D4A779;
  --gold-hover: #E0B78C;
  --gold-deep: #B98D5F;
  --ivory: #F3EEE6;
  --alt-bg: #F7F5F1;
  --border: #E7E2D9;
  --border-input: #D9D3C7;
  --border-input-ivory: #DCD4C4;
  --field-bg: #FCFBF9;
  --text-soft: #5A6372;
  --text-body: #33405a;
  --text-muted: #4B5565;
  --error: #B4362A;
  --serif: 'Source Serif 4', serif;
  --sans: 'Golos Text', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  font-family: var(--sans);
  color: var(--navy);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; }
button { font-family: var(--sans); }
::placeholder { color: #98a0ad; }
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
  text-align: center;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-hover); color: #fff; }
.btn--outline { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}
.header__brand { display: flex; align-items: center; gap: 10px; flex: none; }
.header__emblem { width: 40px; height: 40px; object-fit: contain; }
.header__brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .05em;
  line-height: 1.15;
  color: var(--navy);
}
.header__nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.header__link {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 11px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  background: transparent;
  border: none;
  cursor: pointer;
}
.header__link:hover, .header__link--btn[aria-expanded="true"] { background: #F5F1E9; color: var(--navy); }
/* Botón "Послуги" destacado con bloque dorado (ТЗ del cliente) */
.header__link--services {
  background: #F5E9D8;
  border: 1px solid var(--gold);
  font-weight: 600;
}
.header__link--services:hover, .header__link--services[aria-expanded="true"] { background: var(--gold); }
.caret { font-size: 8px; color: var(--gold-deep); }
.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone { font-size: 13.5px; font-weight: 500; color: var(--text-soft); white-space: nowrap; }
.header__phone:hover { color: var(--navy); }
.header__cta { font-size: 14px; padding: 10px 18px; }
.header__lang { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.header__lang-link { color: #98a0ad; }
.header__lang-link--active { color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.header__lang-link:hover { color: var(--navy); }
.header__lang-sep { color: var(--border-input); }
.header__phone-icon, .header__burger { display: none; }

/* ---------- Mega menú ---------- */
.mega {
  position: absolute;
  left: 0; right: 0; top: 64px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 34px -18px rgba(29,38,56,.25);
}
.mega__inner {
  padding-top: 26px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 32px;
}
.svc-ico { width: 17px; height: 17px; flex: none; color: var(--gold-deep); }
.mega__group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 10.5px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-bottom: 9px;
  border-bottom: 1px solid #EFEAE0;
  margin-bottom: 10px;
}
.mega__group-head + .mega__links, .mega__group-head + .mega__grid2 { margin-bottom: 16px; }
.mega__group-head--link { cursor: pointer; }
.mega__group-head--link .arrow { margin-left: auto; letter-spacing: 0; }
.mega__group-head--link:hover { color: var(--navy); }
.mega__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 16px; }
.mega__links a, .mega__grid2 a { font-size: 13px; padding: 5px 7px; border-radius: 5px; display: block; }
.mega__links a:hover, .mega__grid2 a:hover { background: #F5F1E9; color: var(--navy); }
.mega__contact { margin-top: 14px; background: var(--navy); border-radius: 8px; padding: 14px 16px; }
.mega__contact-title { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.mega__contact-phone { color: var(--gold); font-weight: 600; font-size: 13.5px; }
.mega__contact-phone:hover { color: #E7C9A4; }

/* ---------- Menú móvil ---------- */
.mobile-nav {
  position: fixed;
  left: 0; right: 0;
  top: 58px;
  bottom: 0;
  background: var(--navy);
  z-index: 35;
  padding: 20px 18px;
  overflow: auto;
}
.mobile-nav__links { display: grid; gap: 2px; }
.mobile-nav__link {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border-left: none; border-right: none; border-top: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.mobile-nav__link:hover { color: var(--gold); }
.mobile-nav__plus { color: var(--gold); }
.mobile-nav__acc { display: grid; gap: 1px; padding: 4px 0 10px; }
.mobile-nav__acc a {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  padding: 9px 10px 9px 22px;
}
.mobile-nav__acc a:hover { color: var(--gold); }
.mobile-nav__acc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 600 11px var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 10px 6px;
}
.mobile-nav__acc-head .svc-ico { color: var(--gold); width: 15px; height: 15px; }
a.mobile-nav__acc-head--link { text-transform: none; font: 600 14px var(--sans); letter-spacing: 0; color: rgba(255,255,255,.9); padding: 9px 10px; }
a.mobile-nav__acc-head--link:hover { color: var(--gold); }
.mobile-nav__cta { display: block; margin-top: 20px; font-size: 15px; padding: 14px; border-radius: 8px; }
.mobile-nav__phone { display: block; margin-top: 10px; font-size: 15px; padding: 13px; border-radius: 8px; }
.mobile-nav__lang { display: flex; justify-content: center; gap: 14px; margin-top: 20px; font-size: 13.5px; }
.mobile-nav__lang-link { color: rgba(255,255,255,.6); font-weight: 600; }
.mobile-nav__lang-link--active { color: var(--gold); font-weight: 700; }
body.nav-open { overflow: hidden; }

/* ==========================================================================
   HERO — split 58/42
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 58fr 42fr;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 460px at 78% -10%, rgba(212,167,121,.10), transparent 60%),
    #18202F;
}

/* Fondo animado uniforme (según diseño "Fondos Hero Animados"):
   franjas diagonales navy derivando + destello dorado en sentido opuesto +
   glow radial estático. Respeta prefers-reduced-motion (regla global). */
.hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero__bg-stripes,
.hero__bg-streak { position: absolute; inset: -15% -20%; will-change: transform; }
.hero__bg-stripes {
  background: repeating-linear-gradient(112deg, #18202F 0px, #1F2A42 90px, #18202F 200px, #26324E 320px, #18202F 430px);
  animation: heroDrift 24s ease-in-out infinite alternate;
}
.hero__bg-streak {
  background: linear-gradient(112deg, transparent 40%, rgba(212,167,121,.10) 49%, rgba(212,167,121,.16) 50%, rgba(212,167,121,.10) 51%, transparent 60%);
  animation: heroDrift 24s ease-in-out infinite alternate-reverse;
}
.hero__bg-glow {
  position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 78% -10%, rgba(212,167,121,.10), transparent 60%);
}
@keyframes heroDrift {
  from { transform: translate3d(-8%, 0, 0); }
  to   { transform: translate3d(4%, 0, 0); }
}

/* Páginas de servicio con imagen propia (ver __HERO_BG_STYLE__): la imagen
   sustituye al fondo animado uniforme en vez de superponerse a él. */
.hero--photo .hero__bg { display: none; }
.hero__lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.86);
  max-width: 600px;
  margin: 0 0 30px;
}

.hero__slider {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}
.hero__ghost {
  position: absolute;
  top: 26px; left: 44%;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 170px;
  line-height: 1;
  color: rgba(212,167,121,.07);
  pointer-events: none;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 830px;
  margin-left: auto;
  padding: 56px 56px 52px;
}
.hero__slide.is-animating { animation: heroIn .4s ease both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__title {
  font-size: 66px;
  line-height: 1.06;
  color: #fff;
  margin: 0 0 14px;
  text-wrap: pretty;
  max-width: 640px;
}
.hero__price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  color: var(--gold);
  margin: 0 0 24px;
}
.hero__price:empty { display: none; }
.hero__bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 26px;
  max-width: 620px;
  margin-bottom: 34px;
  min-height: 96px;
  align-content: start;
}
.hero__bullet {
  display: flex;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.86);
}
.hero__bullet .check { color: var(--gold); font-weight: 700; }
.hero__nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero__cta { font-size: 15.5px; padding: 14px 28px; }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrow {
  width: 44px; height: 44px;
  border: 1px solid rgba(212,167,121,.55);
  background: transparent;
  color: var(--gold);
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.hero__arrow:hover { background: rgba(212,167,121,.12); border-color: var(--gold); }
.hero__progress {
  width: 160px; height: 2px;
  background: rgba(255,255,255,.18);
  position: relative;
}
.hero__progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--gold);
  transition: width .4s ease;
  width: 12.5%;
}
.hero__counter {
  font: 600 12.5px var(--sans);
  letter-spacing: .22em;
  color: var(--gold);
}

/* ---------- Panel del formulario (integrado en el navy) ---------- */
.hero__form-panel {
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(212,167,121,.4);
  display: flex;
  align-items: center;
}
.hero__form-wrap { width: 100%; max-width: 500px; padding: 32px 44px; }

/* Formulario del hero en versión oscura (solo aquí; las demás páginas
   mantienen el formulario claro sobre fondo blanco). */
.hero__form-panel .form__title { color: #fff; }
.hero__form-panel .form__label { color: rgba(255,255,255,.78); }
.hero__form-panel .req { color: var(--gold); }
.hero__form-panel .form__input {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #fff;
}
.hero__form-panel .form__input::placeholder { color: rgba(255,255,255,.4); }
.hero__form-panel .form__input:focus { border-color: rgba(212,167,121,.7); }
.hero__form-panel select.form__input option { color: #fff; background: var(--navy); }
.hero__form-panel .form__note { color: rgba(255,255,255,.4); }
.hero__form-panel .form__success-title { color: #fff; }
.hero__form-panel .form__success-text { color: rgba(255,255,255,.7); }
.form__title { font-size: 23px; margin-bottom: 2px; }
.form__rule { width: 34px; height: 2px; background: var(--gold); margin: 10px 0 16px; }
.form { display: grid; gap: 11px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form__label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 5px; }
.req { color: var(--gold-deep); }
.form__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-input-ivory);
  border-radius: 6px;
  font: 400 14.5px var(--sans);
  color: var(--navy);
  background: #fff;
}
.form__input.is-invalid { border-color: var(--error); }
.form__error { font-size: 11.5px; color: var(--error); margin-top: 3px; min-height: 0; }
.form__error:empty { display: none; }
.form__submit { font-size: 15px; padding: 13px; }
.form__note { font-size: 10.5px; color: #98a0ad; text-align: center; }
.form__status { font-size: 12.5px; color: var(--error); text-align: center; line-height: 1.4; }
.form__status:empty { display: none; }
.form__submit[disabled] { opacity: .6; cursor: default; }
.form__success { padding: 26px 10px; text-align: center; }
.form__success-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #EADFCB;
  color: var(--gold-deep);
  font-size: 22px;
  line-height: 48px;
  margin: 0 auto 12px;
}
.form__success-title { font-weight: 600; font-size: 16px; margin-bottom: 5px; }
.form__success-text { font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }

/* ==========================================================================
   SECCIONES
   ========================================================================== */
.section { padding: 72px 0 80px; }
.section--white { background: #fff; }
.section--alt { background: var(--alt-bg); border-top: 1px solid #EFEAE0; }
.section--flush { padding-top: 0; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section__tag {
  font: 600 11px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.section__title { font-size: 28px; line-height: 1.2; }
.section__title--sm { font-size: 22px; margin-bottom: 14px; }
.section__title--mb { margin-bottom: 20px; }
.section__more { font-weight: 600; font-size: 14px; color: var(--gold-deep); flex: none; }
.section__more:hover { color: var(--navy); }

/* ---------- Ofertas ---------- */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.offer {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, transform .15s;
}
.offer:hover { border-color: var(--gold); transform: translateY(-2px); }
.offer__title { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.25; }
.offer__price { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--gold-deep); margin-top: 3px; }
.offer__bullets { display: grid; gap: 5px; margin: 11px 0 14px; }
.offer__bullet { display: flex; gap: 7px; font-size: 12.5px; line-height: 1.4; color: var(--text-muted); }
.offer__bullet .check { color: var(--gold-deep); font-weight: 700; }
.offer__link {
  margin-top: auto;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy);
  border: 1px solid var(--border-input);
  border-radius: 6px;
  padding: 8px 0;
  text-align: center;
  transition: border-color .15s, color .15s;
}
.offer__link:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- Noticias ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.news__card {
  display: block;
  background: var(--alt-bg);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 20px 22px;
  transition: border-color .15s;
}
.news__card:hover { border-color: var(--gold); color: var(--navy); }
.news__date { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--gold-deep); margin-bottom: 8px; }
.news__title { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.3; margin-bottom: 7px; }
.news__excerpt { font-size: 13px; line-height: 1.5; color: var(--text-soft); }

/* ---------- ISO ---------- */
.iso { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.iso__card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 15px;
  transition: border-color .15s, transform .15s;
}
.iso__card:hover { border-color: var(--gold); color: var(--navy); transform: translateY(-1px); }
.iso__icon { width: 36px; height: 36px; object-fit: contain; flex: none; }
.iso__title { display: block; font-weight: 400; font-size: 14px; line-height: 1.3; color: var(--text-soft); }
.iso__sub { display: block; font-weight: 600; font-size: 12px; line-height: 1.4; margin-bottom: 2px; }
.iso__consult {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: var(--navy);
  border-radius: 8px;
  padding: 14px 16px;
}
.iso__consult-title { font-weight: 600; font-size: 14px; color: #fff; line-height: 1.35; }
.iso__consult-link { color: var(--gold); font-weight: 600; font-size: 13px; }
.iso__consult-link:hover { color: #E7C9A4; }

/* ---------- Servicios por grupos (portada) ---------- */
.svc-groups { columns: 3; column-gap: 14px; }
.svc-card {
  display: block;
  break-inside: avoid;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  transition: border-color .15s;
}
.svc-card:hover { border-color: var(--gold); }
.svc-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--navy);
}
.svc-card__head .svc-ico { width: 20px; height: 20px; }
.svc-card__head .arrow { margin-left: auto; color: var(--gold-deep); }
.svc-card--direct:hover .svc-card__head { color: var(--gold-deep); }
.svc-card__list { display: grid; gap: 2px; margin-top: 11px; }
.svc-card__list--2col { grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.svc-card__link {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
  padding: 7px 8px;
  border-radius: 6px;
  border-bottom: 1px solid #EFEAE0;
  transition: background .15s;
}
.svc-card__link:last-child { border-bottom: none; }
.svc-card__link:hover { background: var(--alt-bg); color: var(--navy); }
.svc-card__link .arrow { color: var(--gold-deep); flex: none; }

/* ---------- Sobre la empresa ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about__body { font-size: 14.5px; line-height: 1.65; color: var(--text-body); display: grid; gap: 11px; }
.about__body p { margin: 0; }
.about__btn { margin-top: 18px; }
.about__map { background: var(--navy); border-radius: 10px; padding: 30px 30px 26px; }
.about__map-title { font-size: 23px; color: #fff; margin: 0 0 8px; }
.about__map-text { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.72); margin: 0 0 14px; }
.about__map-img { width: 100%; border-radius: 8px; margin-bottom: 14px; display: block; }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: center; }
.team__photo { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; display: block; }
.team__list { display: grid; gap: 10px; }
.team__member {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid #EFEAE0;
  padding-bottom: 10px;
}
.team__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transform: translateY(-3px);
}
.team__name { font-weight: 600; font-size: 16px; }
.team__role { font-size: 13px; color: var(--text-soft); margin-top: 1px; }
.team__note { font-size: 13.5px; color: var(--text-soft); margin: 12px 0 0; }

/* ---------- Ventajas ---------- */
.adv { border-top: 1px solid #EFEAE0; margin-top: 56px; padding-top: 48px; }
.adv__tag { margin-bottom: 18px; }
.adv__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.adv__item { border-top: 2px solid var(--gold); padding: 14px 4px 0; }
.adv__title { font-family: var(--serif); font-weight: 600; font-size: 17.5px; margin-bottom: 6px; }
.adv__text { font-size: 13px; line-height: 1.5; color: var(--text-soft); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy); }
.footer__cta {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__cta-title { font-family: var(--serif); font-weight: 600; font-size: 20px; color: #fff; }
.footer__cta-actions { display: flex; gap: 12px; flex: none; }
.footer__cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding: 32px 0;
}
.footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.footer__emblem { width: 36px; height: 36px; object-fit: contain; }
.footer__brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  color: #fff;
  line-height: 1.2;
}
.footer__desc { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer__social { display: flex; gap: 9px; margin-top: 14px; }
.footer__soc {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: 11.5px;
  font-weight: 600;
  transition: border-color .15s, color .15s;
}
.footer__soc:hover { border-color: var(--gold); color: var(--gold); }
.footer__title {
  font: 600 10.5px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 11px;
}
.footer__links { display: grid; gap: 6px; }
.footer__links a { font-size: 13.5px; color: rgba(255,255,255,.78); }
.footer__links a:hover { color: var(--gold); }
.footer__contacts { display: grid; gap: 6px; font-size: 13.5px; color: rgba(255,255,255,.78); }
.footer__contacts a { color: rgba(255,255,255,.78); }
.footer__contacts a:hover { color: var(--gold); }
.footer__phone { color: #fff !important; font-weight: 600; }
.footer__phone:hover { color: var(--gold) !important; }
.footer__bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.footer__lang { display: flex; gap: 10px; }
.footer__lang a { color: rgba(255,255,255,.6); }
.footer__lang a:hover { color: var(--gold); }

/* ==========================================================================
   RESPONSIVE — Tablet (≤1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .header__nav, .header__phone, .header__lang { display: none; }
  .header__inner { height: 60px; gap: 14px; }
  .header__burger {
    display: block;
    width: 42px; height: 42px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    color: var(--navy);
  }
  .header__cta { font-size: 13px; padding: 9px 15px; margin-left: auto; }
  .mega { display: none; }

  .hero { grid-template-columns: 55fr 45fr; min-height: 0; }
  .hero__content { padding: 36px 28px; max-width: none; }
  .hero__ghost { top: 14px; left: 46%; font-size: 96px; }
  .hero__title { font-size: 38px; line-height: 1.1; margin-bottom: 10px; }
  .hero__price { font-size: 23px; margin-bottom: 16px; }
  .hero__bullets { grid-template-columns: 1fr; gap: 7px; margin-bottom: 22px; min-height: 120px; }
  .hero__bullet { font-size: 13.5px; }
  .hero__cta { font-size: 14px; padding: 11px 20px; }
  .hero__arrow { width: 40px; height: 40px; }
  .hero__progress { width: 90px; }
  .hero__counter { font-size: 11px; letter-spacing: .2em; }
  .hero__form-wrap { padding: 26px 26px; max-width: none; }
  .form__title { font-size: 19px; }

  .section { padding: 48px 0 56px; }
  .offers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .news { grid-template-columns: 1fr; }
  .iso { grid-template-columns: 1fr 1fr; gap: 10px; }
  .svc-groups { columns: 2; }
  .about { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .adv__grid { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   RESPONSIVE — Móvil (≤700px)
   ========================================================================== */
@media (max-width: 700px) {
  .container { padding: 0 16px; }
  .header__inner { height: 58px; gap: 10px; padding: 0 14px; }
  .header__emblem { width: 34px; height: 34px; }
  .header__brand-name { font-size: 11.5px; }
  .header__cta { display: none; }
  .header__phone-icon {
    display: flex;
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: auto;
  }
  .header__phone-icon:hover { border-color: var(--gold); color: var(--gold-deep); }
  .header__burger { width: 44px; height: 44px; }

  .hero { grid-template-columns: 1fr; }
  .hero__content { padding: 30px 20px; }
  .hero__ghost { top: 10px; left: auto; right: 16px; font-size: 72px; }
  .hero__title { font-size: 30px; line-height: 1.12; margin-bottom: 8px; }
  .hero__price { font-size: 21px; margin-bottom: 14px; }
  .hero__bullets { min-height: 0; margin-bottom: 20px; }
  .hero__nav { gap: 10px; }
  .hero__cta { flex: 1; font-size: 15px; padding: 13px 0; border-radius: 8px; }
  .hero__arrow { width: 46px; height: 46px; }
  .hero__progress { order: 5; flex: 1; width: auto; margin-top: 6px; }
  .hero__counter { order: 6; margin-top: 6px; }
  .hero__form-panel { border-left: none; border-top: 1px solid var(--gold); }
  .hero__form-wrap { padding: 24px 20px 26px; }
  .form__title { font-size: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .form__label { font-size: 13px; }
  .form__input { padding: 12px 13px; font-size: 16px; border-radius: 8px; }
  .form__submit { font-size: 16px; padding: 15px; border-radius: 8px; }

  .section { padding: 40px 0 48px; }
  .section__title { font-size: 24px; }
  .offers { grid-template-columns: 1fr; gap: 10px; }
  .iso { grid-template-columns: 1fr; gap: 8px; }
  .svc-groups { columns: 1; }
  .svc-card__list--2col { grid-template-columns: 1fr; }
  .adv__grid { grid-template-columns: 1fr; }
  .footer__cta { flex-direction: column; gap: 16px; text-align: center; padding: 24px 0; }
  .footer__cta-actions { flex-wrap: wrap; justify-content: center; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; padding: 28px 0; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

/* ---------- Botón flotante de contacto ---------- */
.fab-phone {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(29,38,56,.45);
  transition: background .15s, transform .15s;
}
.fab-phone:hover { background: var(--gold-hover); color: var(--navy); transform: translateY(-2px); }

/* ==========================================================================
   ARTÍCULO (plantilla de noticia — páginas interiores)
   ========================================================================== */
.article__hero {
  background: var(--navy);
  color: #fff;
  padding: 40px 0 48px;
}
.article__hero-inner { max-width: 820px; }
.article__back {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 22px;
}
.article__back:hover { color: var(--gold-hover); }
.article__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.article__dot { color: rgba(255,255,255,.35); }
.article__date { color: rgba(255,255,255,.65); letter-spacing: .04em; }
.article__title {
  font-size: 34px;
  line-height: 1.18;
  color: #fff;
  max-width: 780px;
  text-wrap: pretty;
}
.article__layout { max-width: 820px; padding-top: 40px; padding-bottom: 8px; }
.article__image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
  display: block;
  border: 1px solid var(--border);
}
.article__body {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text-body);
}
.article__body p { margin: 0 0 18px; }
.article__body p:last-child { margin-bottom: 0; }
.article__body a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.article__body a:hover { color: var(--navy); }
/* Botones CTA que venían en el contenido original (ver vsgsl_sanitize_walk):
   se muestran como botón, no como enlace de texto. */
.article__body a.article__body-cta {
  display: inline-block;
  margin: 6px 0 22px;
  text-decoration: none;
  color: var(--navy);
}
.article__body a.article__body-cta:hover { color: var(--navy); }
.article__body h2 { font-size: 24px; margin: 34px 0 14px; }
/* Titulares de sección de las páginas de servicio: se replica el tratamiento
   de la web anterior (dorado, centrado y grande). Se usa el dorado profundo
   en lugar del claro para que el texto siga siendo legible sobre blanco. */
.article__body h2.article__section-title {
  font-size: 30px;
  line-height: 1.22;
  text-align: center;
  color: var(--gold-deep);
  margin: 46px 0 20px;
}
/* Rejilla de cuadros del diseño anterior (ej. "Де впроваджуються ISO 9001").
   Cada fila del contenido original se reconstruye como una rejilla de 4; el
   margen inferior iguala al hueco para que varias filas se vean continuas. */
.article__body .kc-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 14px;
}
.article__body .kc-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 175px;
  padding: 20px 16px;
  background: #394A66;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  transition: background .15s;
}
.article__body .kc-card:hover { background: #4D648A; }
/* Bloque "Наші переваги": icono, título en versales y descripción. Los iconos
   venían de una fuente del tema antiguo; se reproducen como SVG incrustado. */
.article__body .kc-perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 20px;
  margin: 6px 0 30px;
  text-align: center;
}
.article__body .kc-perk__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.article__body .kc-perk__icon[data-icon="badge"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23394A66' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5.2'/%3E%3Cpath d='M8.6 12.6 7 21.5l5-2.9 5 2.9-1.6-8.9'/%3E%3C/svg%3E");
}
.article__body .kc-perk__icon[data-icon="shuffle"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23394A66' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 6.5h3.4c1.2 0 2.3.6 3 1.6l5.2 7.3c.7 1 1.8 1.6 3 1.6H21'/%3E%3Cpath d='M2 17.5h3.4c1.2 0 2.3-.6 3-1.6l5.2-7.3c.7-1 1.8-1.6 3-1.6H21'/%3E%3Cpath d='M18 3.5l3 3-3 3'/%3E%3Cpath d='M18 14.5l3 3-3 3'/%3E%3C/svg%3E");
}
.article__body .kc-perk__icon[data-icon="briefcase"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23394A66' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='7' width='19' height='13' rx='2'/%3E%3Cpath d='M8.5 7V5.5a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2V7'/%3E%3Cpath d='M2.5 12.5h19'/%3E%3C/svg%3E");
}
.article__body .kc-perk__icon[data-icon="clip"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23394A66' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 10.5 12 19a5.5 5.5 0 0 1-7.8-7.8l8.5-8.5a3.7 3.7 0 0 1 5.2 5.2l-8.5 8.5a1.9 1.9 0 0 1-2.6-2.6l7.8-7.8'/%3E%3C/svg%3E");
}
.article__body .kc-perk__title {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.article__body .kc-perk__text {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-soft);
}

/* Sección "middle-form" del diseño anterior: texto a la izquierda y formulario
   de pedido a la derecha (ver vsgsl_order_form_html en el plugin). */
.article__body .serv-split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
  margin: 30px 0 34px;
}
.article__body .serv-split__main > :first-child { margin-top: 0; }
.article__body .serv-split__aside {
  background: #394A66;
  border-radius: 10px;
  padding: 24px 22px 26px;
}
.article__body h2.serv-form__title {
  font-size: 19px;
  line-height: 1.3;
  color: #fff;
  text-align: center;
  margin: 0 0 18px;
}
.article__body .serv-split__aside .form { gap: 10px; }
.article__body .serv-split__aside .form__label { color: rgba(255,255,255,.78); }
.article__body .serv-split__aside .req { color: var(--gold); }
.article__body .serv-split__aside .form__input {
  margin-top: 5px;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
  color: #fff;
  font-weight: 400;
}
.article__body .serv-split__aside .form__input::placeholder { color: rgba(255,255,255,.4); }
.article__body .serv-split__aside .form__input:focus { border-color: rgba(212,167,121,.7); }
.article__body .serv-split__aside select.form__input option { color: #fff; background: var(--navy); }
.article__body .serv-split__aside .form__note { color: rgba(255,255,255,.4); }
.article__body .serv-split__aside .form__success-title { color: #fff; }
.article__body .serv-split__aside .form__success-text { color: rgba(255,255,255,.75); }

/* Banda de ventajas del diseño anterior ("Переваги впровадження…"): ocupa todo
   el ancho sobre fondo oscuro. El titular usa el color inicial del degradado
   para que ambos bloques se lean como una sola banda continua. */
.article__body .kc-benefits-title,
.article__body .kc-benefits {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: max(20px, calc(50vw - 410px));
  padding-right: max(20px, calc(50vw - 410px));
}
.article__body h2.kc-benefits-title {
  background: #394A66;
  color: #fff;
  font-size: 30px;
  line-height: 1.24;
  text-align: center;
  padding-top: 44px;
  padding-bottom: 4px;
  margin-top: 34px;
  margin-bottom: 0;
}
.article__body .kc-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  background: linear-gradient(#394A66, #4D648A);
  padding-top: 26px;
  padding-bottom: 48px;
  margin-top: 0;
  margin-bottom: 30px;
}
.article__body .kc-benefit__title {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.article__body .kc-benefit__text {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}
/* Etapas del diseño anterior ("Етапи розробки"): número, título y descripción. */
.article__body .kc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 22px;
  margin: 4px 0 26px;
  text-align: center;
}
.article__body .kc-step__num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 12px;
}
.article__body .kc-step__title {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 9px;
}
.article__body .kc-step__text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-soft);
}
.article__body h3 { font-size: 20px; margin: 28px 0 12px; }
.article__body ul, .article__body ol { margin: 0 0 18px; padding-left: 22px; }
.article__body li { margin-bottom: 8px; }
.article__body img { border-radius: 10px; margin: 20px 0; }
.article__body strong, .article__body b { font-weight: 600; color: var(--navy); }
.article__body iframe { width: 100%; height: 340px; border: 0; border-radius: 10px; margin: 8px 0 24px; display: block; }

/* Variante sin categoría/fecha (páginas de contenido genéricas) */
.article__hero--plain { padding-bottom: 36px; }
.article__hero--plain .article__title { margin-top: 4px; }

.article__cta {
  margin-top: 48px;
  background: var(--alt-bg);
  border-top: 1px solid var(--border);
}
.article__cta-inner {
  max-width: 820px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.article__cta-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
}
.article__cta-actions { display: flex; gap: 12px; flex: none; }
.article__cta .btn--outline-light { border-color: var(--navy); color: var(--navy); }
.article__cta .btn--outline-light:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

@media (max-width: 700px) {
  .article__hero { padding: 28px 0 32px; }
  .article__title { font-size: 26px; }
  .article__layout { padding-top: 28px; }
  .article__body { font-size: 16px; }
  .article__body h2.article__section-title { font-size: 23px; margin: 34px 0 16px; }
  .article__body .kc-cards { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
  .article__body .kc-card { min-height: 120px; font-size: 14px; padding: 16px 12px; }
  .article__body .kc-perks { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .article__body .kc-perk__icon { width: 42px; height: 42px; margin-bottom: 12px; }
  .article__body .kc-perk__title { font-size: 15.5px; }
  .article__body .kc-perk__text { font-size: 13.5px; }
  .article__body .serv-split { grid-template-columns: 1fr; gap: 22px; }
  .article__body h2.kc-benefits-title { font-size: 22px; padding-top: 32px; }
  .article__body .kc-benefits { grid-template-columns: 1fr 1fr; gap: 18px 16px; padding-top: 20px; padding-bottom: 34px; }
  .article__body .kc-benefit__title { font-size: 15.5px; }
  .article__body .kc-benefit__text { font-size: 13.5px; }
  .article__body .kc-steps { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .article__body .kc-step__num { font-size: 32px; margin-bottom: 8px; }
  .article__body .kc-step__title { font-size: 15.5px; }
  .article__body .kc-step__text { font-size: 13.5px; }
  .article__cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .article__cta-actions { flex-wrap: wrap; }
}

/* ==========================================================================
   PÁGINA DE EQUIPO (komanda / pro-komandu)
   ========================================================================== */
.team-page__hero {
  background: var(--navy);
  padding: 44px 0 40px;
}
.team-page__tag {
  font: 600 11px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.team-page__title { font-size: 32px; color: #fff; }
.team-page__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 44px 0 72px;
}
.team-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s, transform .15s;
}
.team-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.team-card__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: var(--alt-bg);
}
.team-card__body { padding: 14px 16px 16px; }
.team-card__name { font-family: var(--serif); font-weight: 600; font-size: 15.5px; line-height: 1.3; margin-bottom: 3px; }
.team-card__role { font-size: 12.5px; color: var(--text-soft); line-height: 1.4; }

@media (max-width: 1024px) {
  .team-page__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 700px) {
  .team-page__hero { padding: 30px 0 26px; }
  .team-page__title { font-size: 25px; }
  .team-page__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 28px 0 48px; }
}

/* ==========================================================================
   PÁGINA DE PEDIDO (zamovyty-sertyfikat / zakazat-sertyfykat)
   ========================================================================== */
.order-page__hero {
  background: var(--navy);
  padding: 44px 0 40px;
  text-align: center;
}
.order-page__tag {
  font: 600 11px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.order-page__title { font-size: 32px; color: #fff; margin-bottom: 10px; }
.order-page__lead {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  max-width: 480px;
  margin: 0 auto;
}
.order-page__card {
  max-width: 620px;
  margin: -34px auto 72px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 34px 36px;
  box-shadow: 0 20px 40px -24px rgba(29,38,56,.25);
  position: relative;
}
.order-page__card .form__note { text-align: left; }

@media (max-width: 700px) {
  .order-page__hero { padding: 32px 0 30px; }
  .order-page__title { font-size: 25px; }
  .order-page__card { margin: -22px 16px 48px; padding: 24px 20px; border-radius: 10px; }
}

/* ==========================================================================
   LISTADO DE NOTICIAS (novyny / novosti)
   ========================================================================== */
.news-list-page__hero {
  background: var(--navy);
  padding: 44px 0 40px;
}
.news-list-page__tag {
  font: 600 11px var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.news-list-page__title { font-size: 32px; color: #fff; }
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 44px 0 8px;
}
.news-list__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px 22px;
  transition: border-color .15s, transform .15s;
}
.news-list__card:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--navy); }
.news-list__img { width: 100%; height: auto; display: block; border-radius: 8px; margin-bottom: 16px; }
.news-list__date { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--gold-deep); margin-bottom: 10px; }
.news-list__title { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.3; margin-bottom: 9px; }
.news-list__excerpt { font-size: 13px; line-height: 1.55; color: var(--text-soft); margin-bottom: 14px; }
.news-list__link { margin-top: auto; font-weight: 600; font-size: 13.5px; color: var(--gold-deep); }
.news-list__status { text-align: center; font-size: 13.5px; color: var(--text-soft); padding: 10px 0; }
.news-list__status:empty { display: none; }
.news-list__more-wrap { text-align: center; padding: 20px 0 72px; }
.news-list__more[hidden] { display: none; }

@media (max-width: 1024px) {
  .news-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 700px) {
  .news-list-page__hero { padding: 30px 0 26px; }
  .news-list-page__title { font-size: 25px; }
  .news-list { grid-template-columns: 1fr; gap: 12px; padding: 28px 0 8px; }
  .news-list__more-wrap { padding: 16px 0 48px; }
}

/* ==========================================================================
   PÁGINA DE VACANTE (candidatura con CV)
   ========================================================================== */
.vacancy-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 72px;
}
.vacancy-form-card {
  background: var(--card, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 28px;
  box-shadow: 0 20px 40px -24px rgba(29,38,56,.22);
  position: sticky;
  top: 84px;
}
.vacancy-form-card .article__body { padding: 0; }
.form__textarea { resize: vertical; min-height: 74px; font-family: var(--sans); line-height: 1.5; }
.form__file {
  width: 100%;
  font: 400 13px var(--sans);
  color: var(--text-soft);
  padding: 9px 10px;
  border: 1px dashed var(--border-input);
  border-radius: 8px;
  background: var(--field-bg);
  cursor: pointer;
}
.form__file::file-selector-button {
  font: 600 12.5px var(--sans);
  color: var(--navy);
  background: var(--alt-bg);
  border: 1px solid var(--border-input);
  border-radius: 6px;
  padding: 6px 12px;
  margin-right: 12px;
  cursor: pointer;
}
.form__file::file-selector-button:hover { border-color: var(--gold); color: var(--gold-deep); }
.vacancy-layout .article__hero-inner { padding: 0; }

@media (max-width: 900px) {
  .vacancy-layout { grid-template-columns: 1fr; gap: 28px; }
  .vacancy-form-card { position: static; order: 2; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
