/* ══════════════════════════════════════════════════════════════
   INVERSIONES PAGE — from inversiones.html
   ══════════════════════════════════════════════════════════════ */

/* ── HERO ── */
.hero { position: relative; min-height: 580px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.hero-left {
  background: var(--ink); padding: 90px 60px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1; overflow: hidden;
}
.hero-left::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 48px 48px;
}
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow.light { color: rgba(255,255,255,.45); }
.eyebrow.light::before { content: ''; width: 22px; height: 2px; background: rgba(255,255,255,.35); }
.eyebrow.blue { color: var(--accent2); }
.eyebrow.blue::before { content: ''; width: 22px; height: 2px; background: var(--accent2); }
h1.hero-h { font-family: 'Cormorant Garamond', serif; font-size: clamp(44px,5vw,68px); font-weight: 600; line-height: 1.07; color: white; margin-bottom: 22px; letter-spacing: -.5px; position: relative; z-index: 1; }
h1.hero-h i { font-style: italic; color: rgba(255,255,255,.55); }
.hero-desc { font-size: 16px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.6); max-width: 440px; margin-bottom: 44px; position: relative; z-index: 1; }
.hero-btns { display: flex; gap: 12px; position: relative; z-index: 1; }
.btn-primary { padding: 14px 30px; font-size: 13.5px; font-weight: 700; background: var(--accent2); color: white; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; letter-spacing: .3px; transition: all .25s; }
.btn-primary:hover { background: #2575a8; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(46,134,193,.3); }
.btn-ghost-white { padding: 14px 30px; font-size: 13.5px; font-weight: 500; background: transparent; color: rgba(255,255,255,.75); border: 1.5px solid rgba(255,255,255,.2); cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .25s; }
.btn-ghost-white:hover { border-color: rgba(255,255,255,.55); color: white; }

/* Hero right — KPI panel */
.hero-right { background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.hero-kpi-header { padding: 36px 48px 28px; border-bottom: 1px solid var(--line); }
.hero-kpi-label { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero-kpi-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--ink); }
.kpi-grid { display: grid; grid-template-columns: 1fr 1fr; flex: 1; }
.kpi-cell { padding: 36px 48px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: background .25s; cursor: default; }
.kpi-cell:hover { background: white; }
.kpi-cell:nth-child(2n) { border-right: none; }
.kpi-cell:nth-child(3), .kpi-cell:nth-child(4) { border-bottom: none; }
.kpi-trend { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.kpi-trend.up { color: #1a8a4a; }
.kpi-trend.neutral { color: var(--muted); }
.kpi-val { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.kpi-val sup { font-size: 20px; color: var(--accent2); vertical-align: super; }
.kpi-label { font-size: 13px; color: var(--mid); }
.kpi-sublabel { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.kpi-bar-wrap { margin-top: 14px; height: 3px; background: var(--line); }
.kpi-bar { height: 100%; background: var(--accent2); transition: width .8s ease; }

/* Hero animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-left > * { animation: fadeUp .7s ease both; }
.hero-left > *:nth-child(1) { animation-delay: .1s; }
.hero-left > *:nth-child(2) { animation-delay: .22s; }
.hero-left > *:nth-child(3) { animation-delay: .34s; }
.hero-left > *:nth-child(4) { animation-delay: .46s; }

/* ── SECTIONS ── */
.sec { padding: 96px 60px; }
.sec-dark { background: var(--ink); }
.sec-soft { background: var(--bg); }
.sec-white { background: var(--white); }
.sec-accent { background: var(--accent); }
h2.sec-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px,3.8vw,52px); font-weight: 600; line-height: 1.1; letter-spacing: -.3px; }
h2.sec-title i { font-style: italic; color: var(--accent); }
h2.sec-title.light { color: white; }
h2.sec-title.light i { color: rgba(255,255,255,.55); }
.sec-lead { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--mid); max-width: 580px; margin-top: 14px; }
.sec-lead.light { color: rgba(255,255,255,.6); }
.link-arrow { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: gap .2s; }
.link-arrow:hover { gap: 12px; }

/* ── WHY INVEST ── */
.why-invest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.wi-visual { position: relative; height: 520px; }
.wi-img-back { position: absolute; right: 0; top: 0; width: 80%; height: 88%; object-fit: cover; }
.wi-img-front { position: absolute; left: 0; bottom: 0; width: 52%; height: 56%; object-fit: cover; border: 4px solid white; box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.wi-badge { position: absolute; right: 0; bottom: 24px; background: var(--accent2); color: white; padding: 20px 28px; text-align: center; min-width: 160px; }
.wi-badge strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 700; line-height: 1; }
.wi-badge span { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .8; }
.wi-points { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.wi-point { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.wi-point:first-child { border-top: 1px solid var(--line); }
.wi-point-icon { width: 44px; height: 44px; background: var(--tag); border: 1px solid #c5d8e8; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.wi-point h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.wi-point p { font-size: 13.5px; color: var(--mid); line-height: 1.65; }

/* ── INVESTMENT TYPES ── */
.inv-types { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--line); margin-top: 60px; }
.inv-type { background: white; overflow: hidden; cursor: pointer; transition: all .3s; position: relative; }
.inv-type:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(27,79,114,.1); z-index: 2; }
.inv-type-img { height: 200px; overflow: hidden; position: relative; }
.inv-type-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.inv-type:hover .inv-type-img img { transform: scale(1.06); }
.inv-type-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(17,24,32,.6) 0%,transparent 60%); }
.inv-type-badge { position: absolute; bottom: 14px; left: 16px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: white; z-index: 1; }
.inv-type-body { padding: 28px 28px 24px; }
.inv-type-tag { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent2); margin-bottom: 10px; }
.inv-type h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.2; }
.inv-type p { font-size: 13.5px; color: var(--mid); line-height: 1.7; margin-bottom: 18px; }
.inv-type-metrics { display: flex; gap: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.inv-metric { flex: 1; text-align: center; padding: 0 12px; border-right: 1px solid var(--line); }
.inv-metric:last-child { border-right: none; }
.inv-metric-val { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--accent); display: block; line-height: 1; }
.inv-metric-label { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── CALCULATOR ── */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: white; border: 1px solid var(--line); margin-top: 60px; overflow: hidden; }
.calc-inputs { padding: 48px; border-right: 1px solid var(--line); }
.calc-inputs h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.calc-inputs p { font-size: 14px; color: var(--mid); margin-bottom: 36px; line-height: 1.6; }
.calc-field { margin-bottom: 24px; }
.cf-label { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; display: block; }
.cf-input-wrap { position: relative; }
.cf-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 600; color: var(--mid); }
.calc-input { width: 100%; padding: 13px 14px 13px 36px; border: 1px solid var(--line); font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 500; color: var(--ink); outline: none; transition: border-color .2s; background: var(--bg); }
.calc-input:focus { border-color: var(--accent2); background: white; }
.calc-range { margin-top: 8px; }
.range-slider { width: 100%; appearance: none; height: 3px; background: var(--line); outline: none; cursor: pointer; }
.range-slider::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: white; border: 2px solid var(--accent2); box-shadow: 0 2px 6px rgba(46,134,193,.25); cursor: pointer; }
.range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 5px; }
.calc-select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); font-family: 'Outfit', sans-serif; font-size: 14px; color: var(--ink); outline: none; background: var(--bg); cursor: pointer; appearance: none; transition: border-color .2s; }
.calc-select:focus { border-color: var(--accent2); }
.calc-btn { width: 100%; padding: 15px; background: var(--accent); color: white; border: none; font-size: 14px; font-weight: 700; font-family: 'Outfit', sans-serif; cursor: pointer; letter-spacing: .5px; transition: all .2s; margin-top: 8px; }
.calc-btn:hover { background: #154360; }

/* Results */
.calc-results { padding: 48px; background: var(--ink); display: flex; flex-direction: column; }
.calc-results h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: white; margin-bottom: 6px; }
.calc-results p { font-size: 13.5px; color: rgba(255,255,255,.5); margin-bottom: 36px; }
.result-main { margin-bottom: 36px; }
.result-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 8px; }
.result-value { font-family: 'Cormorant Garamond', serif; font-size: 54px; font-weight: 700; color: white; line-height: 1; }
.result-value span { font-size: 22px; color: var(--accent2); }
.result-sub { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 4px; }
.result-breakdown { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,.08); }
.rb-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.rb-row:last-child { border-bottom: none; }
.rb-label { color: rgba(255,255,255,.5); }
.rb-val { font-weight: 600; color: white; }
.rb-val.green { color: #4dcf7f; }
.rb-val.blue { color: #7bc8f0; }
.result-disclaimer { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11.5px; color: rgba(255,255,255,.3); line-height: 1.6; }

/* ── MARKET DATA ── */
.market-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2px; background: var(--line); margin-top: 60px; }
.market-chart { background: white; padding: 40px; }
.market-chart h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.market-chart p { font-size: 13.5px; color: var(--muted); margin-bottom: 32px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 180px; padding-bottom: 0; border-bottom: 1px solid var(--line); }
.bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0; }
.bar-wrap { width: 100%; display: flex; gap: 3px; align-items: flex-end; height: 160px; }
.bar { flex: 1; min-height: 8px; transition: all .5s ease; border-radius: 1px 1px 0 0; cursor: pointer; position: relative; }
.bar:hover::after { content: attr(data-val); position: absolute; top: -24px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.bar.b1 { background: var(--accent); }
.bar.b2 { background: #c5d8e8; }
.bar-label { font-size: 11px; color: var(--muted); margin-top: 8px; text-align: center; }
.chart-legend { display: flex; gap: 20px; margin-top: 16px; }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mid); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.market-stats { background: white; display: flex; flex-direction: column; }
.ms-cell { padding: 28px 32px; border-bottom: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.ms-cell:last-child { border-bottom: none; }
.ms-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ms-val { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.ms-val span { color: var(--accent2); font-size: 20px; }
.ms-sub { font-size: 12.5px; color: var(--mid); }
.ms-change { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 8px; margin-top: 6px; }
.ms-change.up { color: #1a8a4a; background: #e8f5ef; }

/* ── PROCESS ── */
.process-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--line); margin-top: 60px; }
.proc-step { background: white; padding: 40px 32px; position: relative; overflow: hidden; transition: background .25s; }
.proc-step:hover { background: var(--tag); }
.proc-step::before { content: attr(data-n); position: absolute; right: 16px; top: 16px; font-family: 'Cormorant Garamond', serif; font-size: 80px; font-weight: 700; color: var(--line); line-height: 1; transition: color .25s; }
.proc-step:hover::before { color: #c5d8e8; }
.proc-step-num { font-family: 'Cormorant Garamond', serif; font-size: 14px; font-weight: 700; color: var(--accent2); margin-bottom: 16px; letter-spacing: 1px; }
.proc-step h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 12px; line-height: 1.2; }
.proc-step p { font-size: 13.5px; color: var(--mid); line-height: 1.7; }
.proc-step-tag { display: inline-block; margin-top: 16px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }

/* ── TEAM ── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--line); margin-top: 60px; }
.team-card { background: white; overflow: hidden; cursor: pointer; position: relative; }
.team-img { height: 240px; overflow: hidden; position: relative; }
.team-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: all .4s; }
.team-card:hover .team-img img { filter: grayscale(0); transform: scale(1.04); }
.team-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(17,24,32,.55) 0%,transparent 50%); }
.team-body { padding: 24px 28px; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.team-role { font-size: 12.5px; font-weight: 600; color: var(--accent2); letter-spacing: .5px; margin-bottom: 10px; }
.team-bio { font-size: 13px; color: var(--mid); line-height: 1.65; }
.team-contact { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.team-link { font-size: 12px; font-weight: 600; color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 4px; transition: gap .2s; }
.team-link:hover { gap: 7px; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.testi-card { background: white; padding: 36px; border: 1px solid var(--line); transition: all .3s; position: relative; }
.testi-card:hover { border-color: #b0c4d8; box-shadow: 0 8px 28px rgba(27,79,114,.08); }
.testi-stars { color: var(--accent2); font-size: 13px; letter-spacing: 2px; margin-bottom: 18px; }
.testi-q { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.7; margin-bottom: 24px; }
.testi-divider { width: 28px; height: 2px; background: var(--accent2); margin-bottom: 20px; }
.testi-who { display: flex; gap: 12px; align-items: center; }
.testi-av { width: 42px; height: 42px; background: var(--accent); color: white; font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testi-role { font-size: 12px; color: var(--muted); margin-top: 1px; }
.testi-return { position: absolute; top: 20px; right: 20px; background: #e8f5ef; color: #1a6b45; font-size: 11px; font-weight: 700; padding: 4px 10px; letter-spacing: 1px; }

/* ── CTA ── */
.cta-section { background: var(--accent); padding: 96px 60px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.cta-section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(34px,4vw,56px); font-weight: 600; color: white; line-height: 1.1; }
.cta-section h2 i { font-style: italic; color: rgba(255,255,255,.6); }
.cta-section p { font-size: 16px; color: rgba(255,255,255,.6); margin-top: 14px; line-height: 1.7; max-width: 520px; }

/* ── FAQ ── */
.faq-wrap { max-width: 800px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; gap: 20px; }
.faq-q span { font-size: 15px; font-weight: 500; color: var(--ink); }
.faq-arrow { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 18px; color: var(--muted); flex-shrink: 0; transition: all .3s; background: white; }
.faq-item.open .faq-arrow { background: var(--accent); color: white; border-color: var(--accent); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { font-size: 14.5px; color: var(--mid); line-height: 1.8; padding-bottom: 20px; }
