/* ==========================================================================
   PATRIMONIA GLOBAL CAPITAL — QUIÉNES SOMOS STYLESHEET
   Matching approved institutional design mockup
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · HERO SECTION (Luxury Sunset Boardroom)
   -------------------------------------------------------------------------- */
.section-qs-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: #041914;
  color: #ffffff;
  padding: 7.5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(198, 168, 125, 0.28);
}

.qs-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 0;
  pointer-events: none;
}

.qs-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 20, 16, 0.94) 0%,
    rgba(3, 20, 16, 0.82) 38%,
    rgba(3, 20, 16, 0.25) 68%,
    rgba(3, 20, 16, 0.48) 100%
  );
  z-index: 1;
}

.qs-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max-width, 1360px);
  margin: 0 auto;
  padding: 0 var(--gutter-desktop, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
}

.qs-hero-content {
  max-width: 650px;
}

.qs-hero-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-champagne-gold, #e2c28a);
  margin-bottom: 1.15rem;
}

.qs-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.65rem);
  font-weight: 400;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 1.35rem 0;
  letter-spacing: -0.01em;
}

.qs-hero-title .qs-title-gold {
  display: block;
  color: #DFBE86;
  font-weight: 400;
}

.qs-hero-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  line-height: 1.68;
  color: rgba(248, 246, 240, 0.9);
  max-width: 540px;
  margin: 0 0 2.1rem 0;
}

.qs-hero-tagline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-champagne-gold, #e2c28a);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(226, 194, 138, 0.35);
}

/* Right Pillar Vertical Words in Hero */
.qs-hero-pillar-words {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.85rem 0;
  position: relative;
  transform: perspective(500px) rotateY(-8deg) rotateZ(-2deg);
  margin-right: 0.5rem;
}

.qs-hero-pillar-words::before,
.qs-hero-pillar-words::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background-color: rgba(226, 194, 138, 0.55);
}

.qs-hero-pillar-words::before {
  margin-bottom: 0.35rem;
}

.qs-hero-pillar-words::after {
  margin-top: 0.35rem;
}

.qs-hero-pillar-words span {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(235, 212, 170, 0.82);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

/* --------------------------------------------------------------------------
   02 · MENSAJE DE BIENVENIDA (CHEY RODRIGUEZ - CHAIRMAN)
   -------------------------------------------------------------------------- */
.section-qs-welcome {
  background-color: #F6F3EC;
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid #E4DDD0;
}

.qs-welcome-grid {
  display: grid;
  grid-template-columns: 43% 1fr;
  gap: clamp(2.25rem, 4.2vw, 4rem);
  align-items: center;
}

.qs-welcome-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1140 / 942;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(6, 30, 24, 0.14);
  background-color: #161d1a;
}

.qs-welcome-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle dark gradient at top-left for overlay words legibility */
.qs-welcome-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 58%;
  background: radial-gradient(circle at top left, rgba(10, 14, 12, 0.58) 0%, transparent 72%);
  z-index: 1;
  pointer-events: none;
}

.qs-photo-overlay-words {
  position: absolute;
  top: 7%;
  left: 6%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.qs-photo-overlay-words::before,
.qs-photo-overlay-words::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background-color: rgba(226, 194, 138, 0.65);
}

.qs-photo-overlay-words::before {
  margin-bottom: 0.25rem;
}

.qs-photo-overlay-words::after {
  margin-top: 0.25rem;
}

.qs-photo-overlay-words span {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 236, 220, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}

/* Right Content of Welcome Section */
.qs-welcome-content {
  display: flex;
  flex-direction: column;
}

.qs-welcome-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.75rem;
  margin-bottom: 1.35rem;
}

.qs-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A5834C;
  margin-bottom: 0.65rem;
}

.qs-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  font-weight: 400;
  line-height: 1.12;
  color: #0D231C;
  margin: 0;
  letter-spacing: -0.01em;
}

.qs-welcome-aside-badge {
  border-left: 1px solid rgba(165, 131, 76, 0.45);
  padding: 0.25rem 0 0.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.qs-welcome-aside-badge span {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A5834C;
  line-height: 1.3;
}

.qs-message-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 1.18vw, 1.14rem);
  line-height: 1.52;
  color: #26332E;
  margin-bottom: 1.35rem;
}

.qs-message-body p {
  margin: 0;
}

.qs-message-italic {
  font-style: italic;
  color: #1B2924;
}

/* Signature Block */
.qs-signature-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.qs-signature-img {
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.qs-signature-chey {
  height: 68px;
}

.qs-signature-jose {
  height: 96px;
}

.qs-sig-details {
  padding-left: 0;
}

.qs-sig-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: #0D231C;
  line-height: 1.2;
}

.qs-sig-role {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-style: italic;
  color: #9A7840;
  line-height: 1.25;
}

.qs-sig-company {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  color: #2B3934;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   03 · MENSAJE DE NUESTRO PRESIDENTE (JOSÉ G. GONZALEZ)
   -------------------------------------------------------------------------- */
.section-qs-president {
  background-color: #F6F3EC;
  padding: 4rem 0 4.5rem;
}

.qs-president-grid {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: clamp(2rem, 3.5vw, 3.25rem);
  align-items: center;
}

.qs-president-content {
  display: flex;
  flex-direction: column;
}

.qs-president-content .qs-heading {
  margin-bottom: 1.25rem;
}

.qs-president-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1360 / 740;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(6, 30, 24, 0.16);
  background-color: #1a1410;
}

.qs-president-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qs-president-overlay-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   04 · NUESTROS PILARES (Dark Emerald Bar with 4 Columns)
   -------------------------------------------------------------------------- */
.section-qs-pillars {
  position: relative;
  background-color: #05221B;
  color: #ffffff;
  padding: 3.25rem 0 3.75rem;
  overflow: hidden;
  border-top: 1px solid rgba(198, 168, 125, 0.3);
  border-bottom: 1px solid rgba(198, 168, 125, 0.3);
}

.qs-pillars-bg-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 0;
}

.section-qs-pillars .container-large {
  position: relative;
  z-index: 2;
}

.qs-pillars-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-champagne-gold, #e2c28a);
  margin-bottom: 2rem;
}

.qs-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
}

.qs-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 0.35rem 1.75rem;
  border-right: 1px solid rgba(226, 194, 138, 0.22);
}

.qs-pillar-item:first-child {
  padding-left: 0;
}

.qs-pillar-item:last-child {
  border-right: none;
  padding-right: 0;
}

.qs-pillar-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: #D7B477;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.qs-pillar-icon svg {
  width: 44px;
  height: 44px;
  stroke: currentColor;
  fill: none;
}

.qs-pillar-text {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.qs-pillar-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
}

.qs-pillar-desc {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.4;
  color: rgba(248, 246, 240, 0.85);
  margin: 0;
}

/* --------------------------------------------------------------------------
   05 · POR INVITACIÓN PRIVADA (CLOSING CTA SECTION)
   -------------------------------------------------------------------------- */
.section-qs-closing {
  position: relative;
  background-color: #F6F3EC;
  background-image: url('/images/dual-globe-closing-hd.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4.5rem 0 4.75rem;
  overflow: hidden;
}

.qs-closing-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max-width, 1360px);
  margin: 0 auto;
  padding: 0 var(--gutter-desktop, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qs-closing-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.qs-closing-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9A7840;
  margin-bottom: 0.85rem;
}

.qs-closing-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.18;
  color: #0D231C;
  margin: 0 0 1.85rem 0;
}

.btn-qs-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #CFA86B 0%, #B88E4F 50%, #D8B47A 100%);
  color: #0B1F19;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(184, 142, 79, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-qs-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(184, 142, 79, 0.38);
  filter: brightness(1.04);
  color: #061510;
}

.btn-qs-gold .arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.btn-qs-gold:hover .arrow {
  transform: translateX(4px);
}

/* Right side vertical words on Closing Section */
.qs-closing-side-words {
  position: absolute;
  right: var(--gutter-desktop, 48px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.qs-closing-side-words::before,
.qs-closing-side-words::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background-color: rgba(154, 120, 64, 0.55);
}

.qs-closing-side-words::before {
  margin-bottom: 0.25rem;
}

.qs-closing-side-words::after {
  margin-top: 0.25rem;
}

.qs-closing-side-words span {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4A5852;
}

/* --------------------------------------------------------------------------
   06 · RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .qs-welcome-grid,
  .qs-president-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .qs-president-media {
    order: -1;
  }

  .qs-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .qs-pillar-item {
    border-right: none;
    padding: 0;
  }

  .qs-closing-side-words {
    display: none;
  }
}

@media (max-width: 767px) {
  .section-qs-hero {
    padding: 6.5rem 0 3.5rem;
    min-height: 440px;
  }

  .qs-hero-container {
    padding: 0 var(--gutter-mobile, 20px);
    flex-direction: column;
    align-items: flex-start;
  }

  .qs-hero-pillar-words {
    display: none;
  }

  .section-qs-welcome,
  .section-qs-president {
    padding: 3.25rem 0;
  }

  .qs-welcome-header-row {
    flex-direction: column;
    gap: 1rem;
  }

  .qs-welcome-aside-badge {
    margin-top: 0;
  }

  .qs-pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .section-qs-closing {
    padding: 3.5rem 0;
  }

  .qs-closing-container {
    padding: 0 var(--gutter-mobile, 20px);
  }

  .btn-qs-gold {
    width: 100%;
    padding: 0.95rem 1.25rem;
    font-size: 0.7rem;
    text-align: center;
  }
}
