/* ==========================================================================
   PATRIMONIA GLOBAL CAPITAL — ESTRATEGIA STYLESHEET
   Matching approved institutional design mockup
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · HERO SECTION
   -------------------------------------------------------------------------- */
.section-estrategia-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background-image: url('/images/hero-estrategia-houston.jpg');
  background-size: cover;
  background-position: center 38%;
  color: #ffffff;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.estrategia-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 24, 19, 0.94) 0%,
    rgba(4, 24, 19, 0.82) 42%,
    rgba(4, 24, 19, 0.45) 75%,
    rgba(4, 24, 19, 0.15) 100%
  );
  z-index: 1;
}

.estrategia-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-width, 1240px);
  margin: 0 auto;
  padding: 0 var(--container-padding, 1.5rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.estrategia-hero-content {
  max-width: 680px;
}

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

.estrategia-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
}

.estrategia-hero-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 1.68;
  color: #e3ece7;
  max-width: 580px;
  margin: 0 0 2rem 0;
}

.estrategia-hero-tagline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-champagne-gold, #c6a87d);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(198, 168, 125, 0.4);
}

.estrategia-hero-badge {
  text-align: right;
  padding-bottom: 0.5rem;
  white-space: nowrap;
}

.estrategia-badge-city {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.estrategia-badge-motto {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-champagne-gold, #c6a87d);
}

/* --------------------------------------------------------------------------
   02 · PLANIFICACIÓN / QUOTE SECTION
   -------------------------------------------------------------------------- */
.section-estrategia-plan {
  background-color: #fbf9f5;
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid #eee8dc;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.plan-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c764e;
  margin-bottom: 1rem;
}

.plan-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.0rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: #11231b;
  margin: 0 0 1.5rem 0;
}

.plan-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: #b58c49;
  line-height: 1.45;
  margin: 0;
}

.plan-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.72;
  color: #43514a;
}

.plan-text-col p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   03 · FILOSOFÍA PATRIMONIAL (DEEP FOREST GREEN + GLOWING GLOBE)
   -------------------------------------------------------------------------- */
.section-estrategia-philosophy {
  background-color: #001d18;
  background-image: url('/images/estrategia-globe-dark.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #ffffff;
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.section-estrategia-philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 29, 24, 0.92) 0%,
    rgba(0, 29, 24, 0.75) 45%,
    rgba(0, 29, 24, 0.15) 80%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.philosophy-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-width, 1240px);
  margin: 0 auto;
  padding: 0 var(--container-padding, 1.5rem);
}

.philosophy-content {
  max-width: 580px;
}

.philosophy-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-champagne-gold, #c6a87d);
  margin-bottom: 1.25rem;
}

.philosophy-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.8vw, 3.3rem);
  font-weight: 400;
  line-height: 1.16;
  color: #ffffff;
  margin: 0 0 1.75rem 0;
}

.philosophy-desc {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.75;
  color: #cdddd5;
  margin: 0 0 2rem 0;
}

.philosophy-tagline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-champagne-gold, #c6a87d);
}

/* --------------------------------------------------------------------------
   04 · ARQUITECTURA GLOBAL / MULTIJURISDICCIONAL Y MULTICAPA
   -------------------------------------------------------------------------- */
.section-estrategia-architecture {
  background-color: #f7f4ed;
  background-image: url('/images/world-map-clean-hd.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5.5rem 0;
  position: relative;
  border-bottom: 1px solid #e7ded0;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.arch-left-col {
  padding-right: 1rem;
}

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

.arch-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.4vw, 3.0rem);
  font-weight: 400;
  line-height: 1.18;
  color: #11231b;
  margin: 0 0 1.75rem 0;
}

.arch-desc {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.75;
  color: #4a5650;
  margin: 0;
}

/* Flowchart Diagram Styles */
.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

/* Top Dark Card */
.diag-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  background: #082018;
  border: 1px solid rgba(198, 168, 125, 0.45);
  border-radius: 6px;
  padding: 0.95rem 1.4rem;
  box-shadow: 0 6px 18px rgba(4, 24, 19, 0.15);
}

.diag-icon-box {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-champagne-gold, #c6a87d);
}

.diag-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.diag-card-body {
  flex: 1;
}

.diag-card-title-top {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.2rem 0;
}

.diag-card-sub-top {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: #9cb5a8;
  margin: 0;
  letter-spacing: 0.02em;
}

/* Connector Down Arrow */
.diag-arrow-down {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  color: #11231b;
  position: relative;
}

.diag-arrow-down svg {
  width: 18px;
  height: 18px;
  fill: #11231b;
}

/* Warm Beige Layers (Capa 01, 02, 03) */
.diag-card-layer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  background: #eae2d3;
  border: 1px solid #d8cdba;
  border-radius: 6px;
  padding: 0.85rem 1.4rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.diag-card-layer:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
}

.diag-icon-dark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #11231b;
}

.diag-icon-dark svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.diag-card-title-layer {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #11231b;
  margin: 0 0 0.2rem 0;
}

.diag-card-sub-layer {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: #55625b;
  margin: 0;
}

/* Fork Connector from Layer 3 into 4 Columns */
.diag-fork-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0;
}

.diag-fork-svg {
  width: 82%;
  height: 28px;
  display: block;
}

/* 4 Destination Bottom Tiles */
.diag-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: 100%;
}

.diag-tile {
  background: #082018;
  border: 1px solid rgba(198, 168, 125, 0.35);
  border-radius: 6px;
  padding: 1.1rem 0.6rem 0.95rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 4px 14px rgba(4, 24, 19, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.diag-tile:hover {
  transform: translateY(-2px);
  border-color: var(--color-champagne-gold, #c6a87d);
}

.diag-tile-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-champagne-gold, #c6a87d);
}

.diag-tile-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.diag-tile-title {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.diag-footnote {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  line-height: 1.5;
  color: #6a7770;
  text-align: center;
  margin: 1.25rem 0 0 0;
  max-width: 580px;
}

/* --------------------------------------------------------------------------
   05 · PRESENCIA ESTRATÉGICA (4 CARDS)
   -------------------------------------------------------------------------- */
.section-estrategia-presence {
  background-color: #fbf9f5;
  padding: 5.5rem 0;
  border-bottom: 1px solid #eee7dc;
}

.presence-header {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: flex-end;
  margin-bottom: 3rem;
}

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

.presence-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 400;
  line-height: 1.2;
  color: #11231b;
  margin: 0;
}

.presence-lead {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4a5650;
  margin: 0;
}

.presence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.presence-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.presence-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1.15rem;
  background-color: #082018;
}

.presence-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.presence-card:hover .presence-card-media img {
  transform: scale(1.04);
}

.presence-card-title {
  font-family: var(--font-sans);
  font-size: 1.0rem;
  font-weight: 700;
  line-height: 1.35;
  color: #11231b;
  margin: 0 0 0.65rem 0;
}

.presence-card-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #55625b;
  margin: 0;
}

/* --------------------------------------------------------------------------
   06 · DE LA VISIÓN A LA EJECUCIÓN (THE WOODLANDS 5-STEP SECTION)
   -------------------------------------------------------------------------- */
.section-estrategia-execution {
  position: relative;
  background-image: url('/images/estrategia-the-woodlands.jpg');
  background-size: cover;
  background-position: center right;
  color: #ffffff;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
}

.execution-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 24, 19, 0.97) 0%,
    rgba(4, 24, 19, 0.92) 55%,
    rgba(4, 24, 19, 0.55) 80%,
    rgba(4, 24, 19, 0.25) 100%
  );
  z-index: 1;
}

.execution-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-width, 1240px);
  margin: 0 auto;
  padding: 0 var(--container-padding, 1.5rem);
}

.execution-header {
  margin-bottom: 3.5rem;
}

.execution-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-champagne-gold, #c6a87d);
  margin-bottom: 0.95rem;
}

.execution-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  margin: 0;
}

.execution-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid rgba(198, 168, 125, 0.25);
  padding-top: 2rem;
  position: relative;
}

.execution-step-col {
  padding: 0 1.5rem 0 0;
  border-right: 1px solid rgba(198, 168, 125, 0.25);
}

.execution-step-col:not(:first-child) {
  padding-left: 1.5rem;
}

.execution-step-col:last-child {
  border-right: none;
}

.execution-step-num {
  font-family: var(--font-serif);
  font-size: clamp(2.0rem, 2.8vw, 2.5rem);
  font-weight: 400;
  color: var(--color-champagne-gold, #c6a87d);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.execution-step-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-champagne-gold, #c6a87d);
  border-radius: 50%;
  margin-bottom: 0.95rem;
}

.execution-step-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.65rem 0;
}

.execution-step-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #c0ceca;
  margin: 0;
}

.execution-badge-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 3.5rem;
}

.execution-badge-box {
  text-align: right;
}

.execution-badge-city {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.execution-badge-motto {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-champagne-gold, #c6a87d);
}

/* --------------------------------------------------------------------------
   07 · CALL TO ACTION (CTA BANNER)
   -------------------------------------------------------------------------- */
.section-estrategia-cta {
  background-color: #f7f4ed;
  background-image: url('/images/world-map-clean-hd.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5.5rem 0;
  text-align: center;
  border-top: 1px solid #eae2d3;
}

.cta-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--container-padding, 1.5rem);
}

.cta-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8c764e;
  margin-bottom: 1.25rem;
}

.cta-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.22;
  color: #11231b;
  margin: 0 0 1.25rem 0;
}

.cta-desc {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4a5650;
  margin: 0 auto 2.25rem auto;
  max-width: 620px;
}

.btn-cta-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: #b8955c;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05rem 2.5rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 15px rgba(184, 149, 92, 0.25);
}

.btn-cta-gold:hover {
  background-color: #a48148;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 149, 92, 0.35);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   08 · RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .plan-grid,
  .architecture-grid,
  .presence-header {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .execution-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: none;
  }

  .execution-step-col {
    border-right: none;
    padding: 0;
  }

  .execution-step-col:not(:first-child) {
    padding-left: 0;
  }

  .execution-overlay {
    background: linear-gradient(
      180deg,
      rgba(4, 24, 19, 0.96) 0%,
      rgba(4, 24, 19, 0.90) 70%,
      rgba(4, 24, 19, 0.70) 100%
    );
  }
}

@media (max-width: 680px) {
  .section-estrategia-hero {
    padding: 6.5rem 0 3.5rem;
    min-height: 480px;
  }

  .estrategia-hero-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .estrategia-hero-badge {
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid rgba(198, 168, 125, 0.25);
    width: 100%;
  }

  .section-estrategia-plan {
    padding: 3.5rem 0;
  }

  .section-estrategia-philosophy {
    padding: 4.5rem 0;
    background-position: 85% center;
  }

  .section-estrategia-philosophy::before {
    background: linear-gradient(
      180deg,
      rgba(0, 29, 24, 0.95) 0%,
      rgba(0, 29, 24, 0.88) 60%,
      rgba(0, 29, 24, 0.75) 100%
    );
  }

  .section-estrategia-architecture {
    padding: 4rem 0;
  }

  .diag-card-top,
  .diag-card-layer {
    padding: 0.85rem 1rem;
    gap: 0.9rem;
  }

  .diag-card-title-top {
    font-size: 0.78rem;
  }

  .diag-card-title-layer {
    font-size: 0.75rem;
  }

  .diag-card-sub-top,
  .diag-card-sub-layer {
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .diag-fork-svg {
    width: 90%;
  }

  .diag-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .section-estrategia-presence {
    padding: 4rem 0;
  }

  .presence-header {
    margin-bottom: 2rem;
  }

  .presence-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .section-estrategia-execution {
    padding: 4rem 0 3.5rem;
  }

  .execution-header {
    margin-bottom: 2.5rem;
  }

  .execution-steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .execution-badge-bottom {
    margin-top: 2.5rem;
    justify-content: flex-start;
  }

  .execution-badge-box {
    text-align: left;
  }

  .section-estrategia-cta {
    padding: 4.5rem 0;
  }

  .btn-cta-gold {
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 0.72rem;
  }
}
