/* ==========================================================================
   HOMEPAGE (INICIO) | STYLES
   PATRIMONIA GLOBAL CAPITAL — OFFICIAL APPROVED STANDARD
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · HERO SECTION
   -------------------------------------------------------------------------- */
.section-home-hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background-image: url('/images/home-hero-boardroom-hd.jpg');
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 20, 16, 0.96) 0%, rgba(2, 20, 16, 0.88) 38%, rgba(2, 20, 16, 0.45) 68%, rgba(2, 20, 16, 0.15) 100%);
  z-index: 1;
}

.section-home-hero .container-large {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

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

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

.home-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.2vw, 4.6rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--color-pure-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.home-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-champagne-gold);
}

.home-hero-badge-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-pure-white);
  line-height: 1.55;
  margin-bottom: 2rem;
}

.btn-hero-expert {
  background: var(--gradient-gold);
  color: #17201E;
  padding: 0.95rem 1.75rem;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.35;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: var(--transition-smooth);
  margin-bottom: 2.25rem;
}

.btn-hero-expert:hover {
  background: var(--gradient-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(182, 138, 74, 0.45);
}

.btn-hero-expert .arrow {
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.btn-hero-expert:hover .arrow {
  transform: translateX(4px);
}

.home-hero-manifesto {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.45;
  color: rgba(248, 246, 240, 0.88);
}

.home-hero-manifesto em {
  font-style: italic;
  color: var(--color-champagne-gold);
}

/* --------------------------------------------------------------------------
   02 · NUESTROS PILARES DE INVERSIÓN
   -------------------------------------------------------------------------- */
.section-home-pillars {
  padding: 5.5rem 0;
  background-color: var(--color-warm-ivory);
}

.section-pillars-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.pillars-header-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-green);
}

.pillars-header-title::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background-color: var(--color-antique-gold);
}

.pillars-header-tagline {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: #7A6233;
}

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

.pillar-card-dark {
  background: #021914;
  border: 1px solid rgba(182, 138, 74, 0.35);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.pillar-card-dark:hover {
  transform: translateY(-6px);
  border-color: var(--color-champagne-gold);
  box-shadow: 0 16px 35px rgba(6, 43, 35, 0.25);
}

.pillar-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  border-bottom: 1px solid rgba(182, 138, 74, 0.25);
}

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

.pillar-card-dark:hover .pillar-card-media img {
  transform: scale(1.05);
}

.pillar-card-body {
  padding: 1.35rem 1.15rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-card-icon {
  width: 26px;
  height: 26px;
  color: var(--color-champagne-gold);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
}

.pillar-card-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.pillar-card-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-pure-white);
  margin-bottom: 0.45rem;
}

.pillar-card-desc {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(248, 246, 240, 0.75);
  margin-bottom: 1.25rem;
}

.pillar-card-arrow {
  margin-top: auto;
  align-self: flex-end;
  font-size: 1.15rem;
  color: var(--color-champagne-gold);
  transition: transform 0.25s ease, color 0.25s ease;
}

.pillar-card-dark:hover .pillar-card-arrow {
  transform: translateX(4px);
  color: var(--color-bright-gold);
}

/* --------------------------------------------------------------------------
   03 · ESTRUCTURACIÓN PATRIMONIAL Y PLANIFICACIÓN ESTRATÉGICA
   -------------------------------------------------------------------------- */
.section-home-structure {
  padding: 5.5rem 0;
  background-color: #FAF8F3;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(182, 138, 74, 0.18);
  border-bottom: 1px solid rgba(182, 138, 74, 0.18);
}

.section-home-structure::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/world-map-light-clean.jpg');
  background-size: 92% auto;
  background-position: center 25%;
  background-repeat: no-repeat;
  opacity: 0.14;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.structure-split-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.structure-content-col {
  display: flex;
  flex-direction: column;
}

.structure-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary-green);
  margin-bottom: 1rem;
}

.structure-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background-color: var(--color-antique-gold);
}

.structure-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--color-primary-green);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.structure-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: #A67C3B;
  margin-bottom: 1.35rem;
  line-height: 1.35;
}

.structure-paragraph {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.structure-action-wrap {
  margin-top: 1.25rem;
}

/* Orbit Diagram System */
.orbit-diagram-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-svg-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orbit-center-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #021914;
  border: 2px solid #E2C28A;
  box-shadow: 0 0 25px rgba(226, 194, 138, 0.25), inset 0 0 15px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  text-align: center;
  padding: 0.5rem;
}

.orbit-center-logo {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.orbit-center-words {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #E2C28A;
  line-height: 1.35;
  margin-top: 5px;
}

.orbit-card {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid rgba(182, 138, 74, 0.4);
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  text-align: center;
  z-index: 4;
  width: 160px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.orbit-card:hover {
  transform: scale(1.04);
  border-color: var(--color-antique-gold);
  box-shadow: 0 8px 24px rgba(182, 138, 74, 0.2);
}

.orbit-card-icon {
  width: 22px;
  height: 22px;
  color: var(--color-antique-gold);
  margin: 0 auto 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-card-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.orbit-card-title {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-green);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.orbit-card-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.3;
}

/* Card Positioning on the Orbit */
.orbit-top {
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-top:hover {
  transform: translateX(-50%) scale(1.04);
}

.orbit-right {
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
}

.orbit-right:hover {
  transform: translateY(-50%) scale(1.04);
}

.orbit-bottom {
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-bottom:hover {
  transform: translateX(-50%) scale(1.04);
}

.orbit-left {
  top: 50%;
  left: -8px;
  transform: translateY(-50%);
}

.orbit-left:hover {
  transform: translateY(-50%) scale(1.04);
}

/* --------------------------------------------------------------------------
   04 · NUESTRA GENTE
   -------------------------------------------------------------------------- */
.section-home-team {
  padding: 5.5rem 0;
  background-color: var(--color-warm-ivory);
}

.home-team-split-grid {
  display: grid;
  grid-template-columns: 31% 53% 16%;
  gap: 2.5rem;
  align-items: center;
}

.home-team-info-col {
  display: flex;
  flex-direction: column;
}

.home-team-info-col .eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-antique-gold);
  margin-bottom: 0.85rem;
}

.home-team-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.18;
  color: var(--color-primary-green);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.home-team-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.home-team-media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(182, 138, 74, 0.3);
  box-shadow: 0 15px 45px rgba(6, 43, 35, 0.16);
  aspect-ratio: 16 / 10;
}

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

.home-team-values-wrap {
  display: flex;
  align-items: center;
  height: 100%;
}

.values-vertical-line {
  width: 1px;
  height: 220px;
  background: linear-gradient(180deg, transparent 0%, rgba(182, 138, 74, 0.6) 20%, rgba(182, 138, 74, 0.6) 80%, transparent 100%);
  margin-right: 2rem;
  flex-shrink: 0;
}

.values-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
}

.value-item {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8E713D;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 1140px) {
  .home-team-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .home-team-values-wrap {
    grid-column: span 2;
    justify-content: center;
    margin-top: 1rem;
  }
  .values-vertical-line {
    display: none;
  }
  .values-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
  }
}

@media (max-width: 1024px) {
  .section-home-hero {
    min-height: 75vh;
  }
  .pillars-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .structure-split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .orbit-diagram-wrap {
    margin-top: 1.5rem;
  }
}

@media (max-width: 767px) {
  .section-home-hero {
    min-height: 80vh;
  }
  .section-home-hero .container-large {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .home-hero-title {
    font-size: clamp(2.35rem, 8vw, 3.4rem);
    margin-bottom: 1.25rem;
  }
  .home-hero-badge-desc {
    font-size: 0.78rem;
    margin-bottom: 1.75rem;
  }
  .btn-hero-expert {
    width: 100%;
    margin-bottom: 2rem;
  }
  .section-home-pillars,
  .section-home-structure,
  .section-home-team {
    padding: 3.5rem 0;
  }
  .section-pillars-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .pillars-grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .home-team-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .home-team-values-wrap {
    grid-column: span 1;
  }
  .values-list {
    gap: 1rem 1.5rem;
  }
  .value-item {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .orbit-diagram-wrap {
    transform: scale(0.9);
  }
  .orbit-center-seal {
    width: 140px;
    height: 140px;
  }
  .orbit-card {
    width: 135px;
    padding: 0.5rem 0.65rem;
  }
  .orbit-card-title {
    font-size: 0.58rem;
  }
  .orbit-card-sub {
    font-size: 0.54rem;
  }
}
