/* =========================================================
   PROJECT MANAGEMENT PAGE (page-project-management.php)
   Identidad propia (clases pm_*), deliberadamente distinta de
   la pagina de Construccion: hero a la izquierda con panel
   numerado, banda oscura, rejilla de servicios sin fotos,
   ensayo editorial largo, banda Marbella con foto de fondo,
   timeline numerada, FAQ a dos columnas y CTA oscuro solido.
   Lenguaje visual del tema: titulares Felidae / Cormorant
   Garamond en mayusculas, cuerpo Inter 300, acento #41545C,
   bordes #E1E1E1.
   ========================================================= */

/* ----- HEADER SOBRE FONDO BLANCO (equivale al bloque
        .big_block_home--construction de construction.css) ----- */
.big_block_home--pm {
  background: #FFFFFF;
  height: auto;
  min-height: 0;
  position: relative;
}
.big_block_home--pm > .container {
  height: auto;
}
.big_block_home--pm header .mega-menu .logo img { filter: none; }
.big_block_home--pm header .about_block .top_header_group { border-bottom: 0; }
.big_block_home--pm header .about_block .top_header_group::after { content: none; }
.big_block_home--pm::before,
.big_block_home--pm::after { content: none; }

/* ----- BOTONES ----- */
.pm_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 38px;
  border: 1px solid #010101;
  background: #010101;
  color: #FFFFFF;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.pm_btn:hover {
  background: transparent;
  color: #010101;
}
.pm_btn--ghost {
  background: transparent;
  color: #010101;
  border-color: #C4C4C4;
}
.pm_btn--ghost:hover {
  border-color: #010101;
}
.pm_btn--light {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #101718;
}
.pm_btn--light:hover {
  background: transparent;
  color: #FFFFFF;
}

/* ----- HERO (alineado a la izquierda + panel numerado) ----- */
.pm_hero {
  padding: 56px 0 72px;
  background: #FFFFFF;
  text-align: left;
}
.pm_hero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 130%;
  color: #C4C4C4;
  margin-bottom: 36px;
}
.pm_hero__crumbs a,
.pm_hero__crumbs span { color: #C4C4C4; text-decoration: none; transition: color .2s; }
.pm_hero__crumbs a:hover { color: #010101; }

.pm_hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.pm_hero__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 68px;
  line-height: 106%;
  letter-spacing: 0.02em;
  color: #010101;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.pm_hero__subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 150%;
  color: #3C3C3B;
  margin: 0 0 40px;
  max-width: 640px;
}
.pm_hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.pm_hero__panel {
  border: 1px solid #E1E1E1;
  border-top: 3px solid #41545C;
  padding: 36px 36px 16px;
  background: #FBFAF8;
}
.pm_hero__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pmhero;
}
.pm_hero__list li {
  counter-increment: pmhero;
  position: relative;
  padding: 0 0 22px 56px;
  margin-bottom: 22px;
  border-bottom: 1px solid #E1E1E1;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 140%;
  color: #3C3C3B;
}
.pm_hero__list li:last-child { border-bottom: 0; }
.pm_hero__list li::before {
  content: counter(pmhero, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-size: 26px;
  line-height: 100%;
  color: #41545C;
}

/* ----- PANORAMA (imagen enmarcada con borde desplazado) ----- */
.pm_panorama {
  padding: 8px 0 0;
  background: #FFFFFF;
}
.pm_panorama__frame {
  position: relative;
  margin: 0;
}
.pm_panorama__frame::after {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid #E1E1E1;
  pointer-events: none;
  z-index: 0;
}
.pm_panorama__frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(320px, 46vw, 560px);
  object-fit: cover;
}

/* ----- BANDA DE CONFIANZA (tono hueso, integrada con el fondo claro) ----- */
.pm_band {
  margin-top: 88px;
  padding: 52px 0;
  background: #F5F0E8;
}
.pm_band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.pm_band__item {
  border-left: 1px solid rgba(16, 23, 24, 0.14);
  padding-left: 24px;
}
.pm_band__num {
  display: block;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 100%;
  color: #7A939E;
  margin-bottom: 14px;
}
.pm_band__label {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 140%;
  color: #101718;
}

/* ----- QUÉ INCLUYE (rejilla numerada, sin fotos) ----- */
.pm_scope {
  padding: 104px 0 96px;
  background: #FFFFFF;
}
.pm_scope__head {
  max-width: 860px;
  margin-bottom: 64px;
}
.pm_scope__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 112%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #010101;
  margin: 0 0 20px;
}
.pm_scope__lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 150%;
  color: #3C3C3B;
  margin: 0;
}
.pm_scope__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #E1E1E1;
  border-left: 1px solid #E1E1E1;
}
.pm_scope__cell {
  border-right: 1px solid #E1E1E1;
  border-bottom: 1px solid #E1E1E1;
  padding: 36px 32px 40px;
  transition: background .25s ease;
}
.pm_scope__cell:hover { background: #FBFAF8; }
.pm_scope__num {
  display: block;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 100%;
  color: #41545C;
  margin-bottom: 18px;
}
.pm_scope__text {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 145%;
  color: #3C3C3B;
  margin: 0;
}
.pm_scope__outro {
  margin: 44px 0 0;
  max-width: 860px;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 155%;
  color: #3C3C3B;
}

/* ----- ENSAYO (texto largo "explicado a fondo") ----- */
.pm_essay {
  padding: 96px 0 104px;
  background: #FBFAF8;
  border-top: 1px solid #E1E1E1;
  border-bottom: 1px solid #E1E1E1;
}
.pm_essay__head {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
}
.pm_essay__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 112%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #010101;
  margin: 0 0 18px;
}
.pm_essay__lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 150%;
  color: #6B6B6A;
  margin: 0;
}
.pm_essay__body {
  max-width: 820px;
  margin: 0 auto;
}
.pm_essay__sec {
  padding: 0 0 52px 0;
  margin-bottom: 52px;
  border-bottom: 1px solid #E1E1E1;
}
.pm_essay__sec:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.pm_essay__sec-head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 24px;
}
.pm_essay__num {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-size: 44px;
  line-height: 100%;
  color: #C3CDD2;
  flex-shrink: 0;
}
.pm_essay__h {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 118%;
  letter-spacing: 0.02em;
  color: #010101;
  margin: 0;
}
.pm_essay__sec p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 17.5px;
  line-height: 168%;
  color: #3C3C3B;
  margin: 0 0 20px;
}
.pm_essay__sec p:last-child { margin-bottom: 0; }

/* ----- MARBELLA (banda con imagen de fondo + velo oscuro) ----- */
.pm_marbella {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.pm_marbella::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 13, 15, 0.86) 0%, rgba(9, 13, 15, 0.66) 55%, rgba(9, 13, 15, 0.42) 100%);
}
.pm_marbella .container { position: relative; z-index: 1; }
.pm_marbella__inner { max-width: 760px; }
.pm_marbella__tag {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A9BBC3;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 8px 16px;
  margin-bottom: 28px;
}
.pm_marbella__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 112%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 22px;
}
.pm_marbella__pull {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 130%;
  color: #C9D6DC;
  margin: 0 0 30px;
}
.pm_marbella__text p {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 17.5px;
  line-height: 165%;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 20px;
}
.pm_marbella__text p:last-child { margin-bottom: 0; }

/* ----- TIMELINE (cómo trabajamos) ----- */
.pm_path {
  padding: 104px 0 96px;
  background: #FFFFFF;
}
.pm_path__head {
  max-width: 860px;
  margin-bottom: 72px;
}
.pm_path__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 112%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #010101;
  margin: 0 0 20px;
}
.pm_path__lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 19px;
  line-height: 150%;
  color: #3C3C3B;
  margin: 0;
}
.pm_path__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  position: relative;
}
.pm_path__track::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: #E1E1E1;
}
.pm_path__step { position: relative; }
.pm_path__dot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid #41545C;
  background: #FFFFFF;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-size: 24px;
  color: #41545C;
  margin-bottom: 26px;
}
.pm_path__name {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 120%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #010101;
  margin: 0 0 12px;
}
.pm_path__desc {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16.5px;
  line-height: 150%;
  color: #3C3C3B;
  margin: 0;
}
.pm_path__cta { margin-top: 64px; }

/* ----- FAQ (dos columnas: intro fija + acordeón) ----- */
.pm_faq {
  padding: 96px 0 104px;
  background: #FBFAF8;
  border-top: 1px solid #E1E1E1;
}
.pm_faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 72px;
  align-items: start;
}
.pm_faq__intro {
  position: sticky;
  top: 40px;
}
.pm_faq__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 112%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #010101;
  margin: 0 0 18px;
}
.pm_faq__lead {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 150%;
  color: #6B6B6A;
  margin: 0;
}
.pm_faq__acc .pm_faq__item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #E1E1E1;
  border-radius: 0;
}
.pm_faq__acc .pm_faq__item:first-child { border-top: 1px solid #E1E1E1; }
.pm_faq__acc .accordion-header { margin: 0; }
.pm_faq__acc .accordion-button {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 26px 44px 26px 0;
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 125%;
  letter-spacing: 0.01em;
  color: #010101;
  position: relative;
}
.pm_faq__acc .accordion-button:focus { box-shadow: none; }
.pm_faq__acc .accordion-button::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: 0;
  border-right: 1px solid #41545C;
  border-bottom: 1px solid #41545C;
  background: none;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.pm_faq__acc .accordion-button:not(.collapsed)::after {
  transform: translateY(-30%) rotate(225deg);
}
.pm_faq__acc .accordion-body {
  padding: 0 44px 30px 0;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 16.5px;
  line-height: 160%;
  color: #3C3C3B;
}

/* ----- CTA FINAL (banda oscura sólida) ----- */
.pm_cta {
  padding: 110px 0;
  background: #101718;
  text-align: center;
}
.pm_cta__inner {
  max-width: 780px;
  margin: 0 auto;
}
.pm_cta__title {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 112%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 22px;
}
.pm_cta__sub {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 155%;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 40px;
}
.pm_cta__micro {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin: 26px 0 0;
}
.pm_cta__tagline {
  font-family: "Felidae", "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 17px;
  color: #8FA3AC;
  margin: 14px 0 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .pm_hero__title { font-size: 54px; }
  .pm_hero__grid { gap: 44px; }
  .pm_scope__title,
  .pm_essay__title,
  .pm_path__title,
  .pm_faq__title,
  .pm_marbella__title { font-size: 40px; }
  .pm_cta__title { font-size: 42px; }
  .pm_faq__grid { gap: 44px; }
}

@media (max-width: 992px) {
  .pm_hero__grid { grid-template-columns: 1fr; }
  .pm_hero__panel { max-width: 640px; }
  .pm_band__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .pm_scope__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm_faq__grid { grid-template-columns: 1fr; }
  .pm_faq__intro { position: static; }
}

@media (max-width: 768px) {
  .pm_hero { padding: 40px 0 56px; }
  .pm_hero__title { font-size: 40px; }
  .pm_hero__subtitle { font-size: 18px; }
  .pm_hero__crumbs { font-size: 15px; margin-bottom: 24px; }
  .pm_hero__panel { padding: 28px 24px 8px; }
  .pm_hero__actions .pm_btn { width: 100%; }

  .pm_panorama__frame::after { inset: 14px -12px -14px 12px; }
  .pm_panorama__frame img { height: 260px; }

  .pm_band { margin-top: 64px; padding: 44px 0; }
  .pm_band__list { grid-template-columns: 1fr; gap: 28px; }

  .pm_scope { padding: 72px 0 64px; }
  .pm_scope__head { margin-bottom: 40px; }
  .pm_scope__title,
  .pm_essay__title,
  .pm_path__title,
  .pm_faq__title,
  .pm_marbella__title { font-size: 32px; }
  .pm_scope__grid { grid-template-columns: 1fr; }
  .pm_scope__cell { padding: 28px 22px 30px; }

  .pm_essay { padding: 68px 0 72px; }
  .pm_essay__head { margin-bottom: 48px; }
  .pm_essay__sec { padding-bottom: 40px; margin-bottom: 40px; }
  .pm_essay__sec-head { gap: 14px; }
  .pm_essay__num { font-size: 32px; }
  .pm_essay__h { font-size: 24px; }
  .pm_essay__sec p { font-size: 16.5px; line-height: 162%; }

  .pm_marbella { padding: 80px 0; }
  .pm_marbella::before {
    background: linear-gradient(180deg, rgba(9, 13, 15, 0.88) 0%, rgba(9, 13, 15, 0.7) 100%);
  }
  .pm_marbella__pull { font-size: 20px; }

  .pm_path { padding: 72px 0 64px; }
  .pm_path__head { margin-bottom: 48px; }
  .pm_path__track { grid-template-columns: 1fr; gap: 40px; }
  .pm_path__track::before {
    top: 0;
    bottom: 0;
    left: 31px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .pm_path__step { padding-left: 0; }
  .pm_path__cta { margin-top: 44px; }
  .pm_path__cta .pm_btn { width: 100%; }

  .pm_faq { padding: 68px 0 72px; }
  .pm_faq__acc .accordion-button { font-size: 19px; padding: 20px 36px 20px 0; }
  .pm_faq__acc .accordion-body { padding-right: 0; }

  .pm_cta { padding: 76px 0; }
  .pm_cta__title { font-size: 32px; }
  .pm_cta__sub { font-size: 16.5px; }
  .pm_cta .pm_btn { width: 100%; }
}
