/* Página de inversión */
.invest-hero { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 3rem; }
.invest-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.invest-hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.invest-hero__figure { margin: 0; }
.invest-hero__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: var(--radius-lg); }

.invest__breadcrumb { margin-bottom: 1.5rem; font-size: .8rem; color: rgba(245, 242, 233, .78); }
.invest__breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.invest__breadcrumb li + li::before { content: "/"; margin-right: .5rem; }

.invest__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.invest__more { margin: 1.75rem 0 0; font-weight: 600; }
.invest__more a { color: var(--forest-700); text-underline-offset: .2em; }

.invest-cards { display: grid; gap: 1rem; }
.invest-card { padding: 1.5rem; background: var(--white); border-top: 2px solid var(--champagne); border-radius: var(--radius); }
.section--ivory .invest-card { background: var(--ivory); }
.invest-card h3 { margin-bottom: .6rem; font-size: 1.4rem; color: var(--forest-700); }
.invest-card p { margin: 0; font-size: .95rem; }
.invest-card p.invest-card__label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--champagne-700); }
.invest-card p.invest-card__value { margin: .4rem 0 .75rem; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; color: var(--forest-700); }
.invest-card p.invest-card__formula { margin-bottom: .75rem; font-weight: 600; color: var(--forest-500); }

.invest-table { width: 100%; margin: 1.75rem 0 1rem; border-collapse: collapse; table-layout: fixed; font-size: .76rem; background: var(--ivory); }
.invest-table th, .invest-table td { padding: .7rem .25rem; text-align: left; border-bottom: 1px solid var(--champagne-200); }
.invest-table thead th { font-size: .66rem; text-transform: uppercase; color: var(--ivory); background: var(--forest-700); }
.invest-table td:nth-child(3) { font-weight: 600; }
.invest-table thead th:nth-child(1) { width: 24%; }
.invest-table thead th:nth-child(2) { width: 18%; }
.invest-table thead th:nth-child(3) { width: 34%; }
.invest-table thead th:nth-child(4) { width: 24%; }

.calc { display: grid; gap: 1.5rem; }
.calc[hidden] { display: none; }
.calc__inputs, .calc__results { padding: clamp(1.25rem, 4vw, 2rem); color: var(--text); background: var(--ivory); border-radius: var(--radius-lg); }
.calc__inputs { display: grid; gap: 1rem; align-content: start; }
.calc__inputs input, .calc__inputs select { width: 100%; min-width: 0; }
.calc__results h3 { margin-bottom: .5rem; font-size: 1.5rem; color: var(--forest-700); }
.calc__message { min-height: 1.5em; margin: 0 0 .5rem; font-size: .85rem; color: var(--muted); }
.calc__results dl { margin: 0; }
.calc__results dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .7rem 0; border-top: 1px solid var(--champagne-200); }
.calc__results dd { margin: 0; font-weight: 700; color: var(--forest-700); }
.calc__notes { margin-top: 2rem; font-size: .92rem; }
.calc__notes h3 { margin-bottom: .5rem; font-size: 1.4rem; color: var(--champagne); }
.calc__notes ul { margin: 0; padding-left: 1.1rem; }

.invest-lists { display: grid; gap: 2rem; }
.invest-lists h3 { margin-bottom: .75rem; font-size: 1.5rem; color: var(--forest-700); }
.invest-lists ul { margin: 0; padding-left: 1.1rem; }
.invest-lists li { padding: .25rem 0; }

@media (min-width: 40em) {
    .invest-cards { grid-template-columns: repeat(2, 1fr); }
    .invest-table { font-size: 1rem; }
    .invest-table th, .invest-table td { padding: .9rem 1rem; }
}

@media (min-width: 64em) {
    .invest-hero { padding-bottom: 4.5rem; }
    .invest-hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .invest-cards { grid-template-columns: repeat(3, 1fr); }
    .invest-cards--four { grid-template-columns: repeat(4, 1fr); }
    .calc { grid-template-columns: 1fr 1fr; }
    .invest-lists { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
