*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Poppins", sans-serif;
	color: #2a2a2a;
	background: #ffffff;
}

img {
	/* max-width: 100%; */
	display: block;
}

button {
	border: none;
	background: none;
	padding: 0;
	font-family: inherit;
}

.chat-button {
	display: block;
	position: fixed;
	right: 18px;
	bottom: 22px;
	z-index: 999;
	width: 64px;
	height: 64px;
}

.chat-button img {
	width: 120%;
	height: 120%;
	display: block;
}

.chat-modal {
	position: fixed;
	inset: 0;
	background: rgba(255, 255, 255, 0.96);
	display: flex;
	align-items: stretch;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1000;
}

.chat-modal__panel {
	width: min(1060px, 92vw);
	height: min(720px, 90vh);
	margin: 24px;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	display: grid;
	grid-template-columns: 260px 1fr;
	overflow: hidden;
	transform: translateY(20px) scale(0.98);
	transition: transform 0.35s ease;
	transform-origin: bottom right;
}

/* Chat main area */
.chat-main {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-width: 0;
}

/* ── Sidebar ── */
.chat-sidebar {
	display: flex;
	flex-direction: column;
	background: #f7f7f8;
	border-right: 1px solid #e5e5e5;
	overflow: hidden;
}

.chat-sidebar__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 14px;
	border-bottom: 1px solid #e5e5e5;
	flex-shrink: 0;
}

.chat-sidebar__header h3 {
	margin: 0;
	font-size: .95rem;
	font-weight: 600;
	color: #1b1b1b;
}

.chat-sidebar__new-btn {
	width: 32px;
	height: 32px;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	background: #fff;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	transition: background .15s, border-color .15s;
}

.chat-sidebar__new-btn:hover {
	background: #eee;
	border-color: #bbb;
}

.chat-sidebar__list {
	flex: 1;
	overflow-y: auto;
	padding: 8px 0;
}

.chat-sidebar__item {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: none;
	background: transparent;
	text-align: left;
	cursor: pointer;
	transition: background .12s;
	border-left: 3px solid transparent;
}

.chat-sidebar__item:hover {
	background: #eaeaea;
}

.chat-sidebar__item.active {
	background: #e2f0d4;
	border-left-color: #53AF1B;
}

.chat-sidebar__item-title {
	display: block;
	font-size: .85rem;
	font-weight: 500;
	color: #1b1b1b;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chat-sidebar__item-date {
	display: block;
	font-size: .72rem;
	color: #888;
	margin-top: 2px;
}

.chat-sidebar__empty {
	padding: 24px 14px;
	text-align: center;
	color: #999;
	font-size: .85rem;
}

.chat-sidebar__toggle {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #f3f4f8;
	border: none;
	font-size: 1.15rem;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	color: #555;
	transition: background .15s;
}

.chat-sidebar__toggle:hover {
	background: #e5e6ea;
}

.chat-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.chat-modal.is-open .chat-modal__panel {
	transform: translateY(0) scale(1);
}

.chat-modal__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 22px;
	border-bottom: 1px solid #ececec;
}

.chat-modal__back {
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #f3f4f8;
	color: #2a2a2a;
	font-size: 20px;
	font-weight: 600;
	display: grid;
	place-items: center;
}

.chat-modal__header h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.chat-modal__content {
	flex: 1;
	padding: 22px 24px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.chat-message {
	max-width: 78%;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.5;
	position: relative;
}

.chat-message--user {
	align-self: flex-end;
	background: #4c8f1c;
	color: #ffffff;
}

.chat-message--assistant {
	align-self: flex-start;
	background: #f5f6fa;
	color: #918fb7;
}

.chat-message--assistant h4 {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: #2a2a2a;
}

.chat-message--assistant ul {
	margin: 0;
	padding-left: 18px;
	color: inherit;
}

.chat-time {
	position: absolute;
	bottom: -16px;
	font-size: 11px;
	color: #9aa3b2;
}

.chat-message--user .chat-time {
	right: 8px;
}

.chat-message--assistant .chat-time {
	left: 8px;
}

.chat-cta {
    background: linear-gradient(135deg, rgba(62,145,11,0.08) 0%, rgba(228,113,12,0.06) 100%);
    border: 1px solid var(--border);
    color: var(--investment-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(16,24,40,0.04);
    white-space: nowrap; /* Evita que el texto se rompa en mobile */
    flex-shrink: 0; /* Evita que las burbujas se compriman */
}

.chat-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(62,145,11,0.12);
    background: linear-gradient(135deg, rgba(62,145,11,0.12) 0%, rgba(228,113,12,0.08) 100%);
    border-color: var(--primary);
}

.chat-cta:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(16,24,40,0.06);
}

.chat-cta.small {
    padding: 6px 12px;
    font-size: 12px;
}

.chat-modal__suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
    margin: 16px 0 0 0;
	max-width: 768px;
	animation: slideInUp 0.4s ease-out;
    justify-content: center;
}

/* Mobile: Carrusel horizontal sin scroll visible */
@media (max-width: 768px) {
    .chat-modal__suggestions {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        gap: 12px;
        padding: 0 16px 0 0; /* Sin padding izquierdo para empezar desde el borde */
        max-width: 100%;
        position: relative;
        /* Ocultar scrollbar */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .chat-modal__suggestions::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    /* Smooth scroll behavior */
    .chat-modal__suggestions {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}


/* Portfolio component inside chat */
.chat-portfolio-component {
	margin-top: 12px;
	padding: 14px 16px;
	background: linear-gradient(135deg, rgba(84,189,149,0.08) 0%, rgba(228,113,12,0.05) 100%);
	border-radius: 12px;
	border: 1px solid rgba(84,189,149,0.2);
	animation: slideUp 0.4s ease-out;
}
.chat-portfolio-message {
	font-size: 14px;
	color: #363636;
	margin-bottom: 10px;
	line-height: 1.5;
}
.chat-portfolio-btn {
	width: 100%;
	padding: 12px 24px;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	transition: background-color 0.3s, transform 0.2s;
	color: #fff;
}
.chat-portfolio-btn.primary {
	background-color: #54BD95;
}
.chat-portfolio-btn.primary:hover {
	background-color: #3ea06e;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(84,189,149,0.3);
}
.chat-portfolio-btn.primary-urgent {
	background: linear-gradient(135deg, #54BD95 0%, #e4710c 100%);
}
.chat-portfolio-btn.primary-urgent:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(84,189,149,0.4);
}
.chat-portfolio-btn.secondary {
	background-color: #2a2a2a;
	border: 1px solid #444;
}
.chat-portfolio-btn.secondary:hover {
	background-color: #333;
	transform: translateY(-2px);
}

.chat-input {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 16px 20px 20px;
	border-top: 1px solid #ececec;
}

.chat-input input {
	flex: 1;
	border: 1px solid #d7dcf3;
	border-right: none;
	border-radius: 8px 0 0 8px;
	padding: 12px 14px;
	font-size: 14px;
	outline: none;
}

.chat-input button {
	width: 48px;
	height: 44px;
	background: #53af1b;
	color: #ffffff;
	border-radius: 0 8px 8px 0;
	font-size: 20px;
	font-weight: 600;
}

.portfolio-modal {
	position: fixed;
	inset: 0;
	background: rgba(255, 255, 255, 0.98);
	display: flex;
	align-items: stretch;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1001;
}

.portfolio-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.portfolio-modal__panel {
	width: min(1100px, 94vw);
	height: min(860px, 92vh);
	margin: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: hidden;
}

.portfolio-modal__header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 6px 0;
	color: #2a2a2a;
	font-weight: 600;
}

.portfolio-modal__back {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #f3f4f8;
	color: #2a2a2a;
	font-size: 22px;
	font-weight: 600;
	display: grid;
	place-items: center;
}

.portfolio-modal .portfolio-container {
	flex: 1;
	padding: 16px 6px 24px;
	background: transparent;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.portfolio-modal .portfolio-card {
	/* max-width: 1000px; */
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}


.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #2a2a2a;
}

.chevron-icon {
	width: 18px;
	height: 18px;
}

.site-header {
	border-bottom: 1px solid #00000015;
	background: #ffffff;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px 0;
}

.brand {
	display: flex;
	align-items: center;
}

.main-nav {
	display: none;
	align-items: center;
	gap: 28px;
	font-family: "Inter", sans-serif;
}

.nav-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #ff8a00;
	color: #ffffff;
	padding: 10px 22px;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	font-family: "Inter", sans-serif;
	font-size: 14px;
}

@media (max-width: 991.98px) {
	.nav-cta {
		display: none;
	}

	.site-header {
		box-shadow: 0 6px 16px rgba(0, 0, 0, 0.598);
	}

	.header-inner {
		padding: 18px 10px;
	}
}

.menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.25);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 999;
}

.menu-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.menu-panel {
	background: #ffffff;
	width: min(360px, 100%);
	height: 100%;
	padding: 24px 20px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	transform: translateX(100%);
	margin-left: auto;
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.menu-close {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	display: grid;
	place-items: center;
	color: #2a2a2a;
	background: #ffffff;
}

.menu-close svg {
	width: 18px;
	height: 18px;
}

.menu-overlay.is-open .menu-panel {
	transform: translateX(0);
}

.menu-brand {
	display: flex;
	justify-content: flex-start;
	padding-bottom: 10px;
}

.menu-link {
	text-decoration: none;
	color: #2a2a2a;
	font-size: 16px;
}

.menu-link.active {
	background: #e4f5d6;
	border-radius: 10px;
	padding: 10px 12px;
	font-weight: 600;
}

.menu-cta {
	background: #ff8a00;
	color: #ffffff;
	text-align: center;
	padding: 12px 16px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
}

.site-logo {
	height: 50px;
	width: auto;
}

.hero {
	background: #F5F6FA;
	padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.hero-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

.hero-text {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.hero-title {
	margin: 0;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
}

.text-green {
	color: #3e910b;
}

.hero-subtitle {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #4a4a4a;
}

.consult-section {
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
	overflow: hidden;
}

.consult-title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
}

.consult-mobile-text {
	display: none;
}
.consult-arrow {
	display: none;
	color: #3e910b;
}

.input-wrapper {
	display: flex;
	align-items: center;
	border: 1px solid rgba(0, 0, 124, 0.2);
	border-radius: 8px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.input-wrapper input {
	flex: 1;
	border: none;
	padding: 12px 16px;
	font-size: 14px;
	outline: none;
}

.submit-btn {
	width: 48px;
	height: 44px;
	background: #53af1b;
	display: grid;
	place-items: center;
}

.submit-btn svg {
	width: 22px;
	height: 22px;
}

.suggestions {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

.suggestions::-webkit-scrollbar {
	display: none;
}

.suggestion-pill {
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(109, 209, 48, 0.2);
	background: rgba(172, 172, 172, 0.12);
	font-size: 12px;
	color: #2a2a2a;
	white-space: nowrap;
	flex-shrink: 0;
}


@media (min-width: 992px) {
	.suggestions {
		flex-wrap: wrap;
		overflow-x: visible;
		overflow-y: visible;
	}
}

/* hero chart image */
.hero-chart-picture {
	display: block;
	width: 100%;
}

.hero-chart-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

@media (max-width: 991.98px) {
	.hero-chart-img {
		box-shadow:  5px 5px 5px #4c4c4c4c,
			-5px -5px 5px #00000000;
	}
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.legend-dot {
	width: 12px;
	height: 12px;
	border-radius: 999px;
}

.about-section {
	background: #fff;
	padding: 48px 0 64px;
}

.about-content {
	text-align: center;
	max-width: 900px;
}

.about-eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.12em;
	font-weight: 700;
	color: #3e910b;
}

.about-title {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 700;
	color: #1f2a37;
}

.about-subtitle {
	margin: 0 auto 28px;
	max-width: 680px;
	font-size: 15px;
	line-height: 1.7;
	color: #4a4a4a;
}

.about-chart {
	display: flex;
	justify-content: center;
}

.about-chart img {
	width: min(420px, 90vw);
	max-width: 100%;
	height: auto;
}

.feature-section {
	background: #F5F6FA;
	padding: 64px 0 80px;
}

.feature-content {
	text-align: center;
	max-width: 1100px;
}

.feature-title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 700;
	text-align: center;
	color: #1f2a37;
}

.feature-subtitle {
	margin: 0 auto 32px;
	max-width: 620px;
	font-size: 15px;
	text-align: center;
	line-height: 1.7;
	color: #4a4a4a;
}

.feature-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	text-align: left;
}

.feature-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.form-label {
	font-weight: 600;
	font-size: 16px;
	color: #2a2a2a;
}

.form-input,
.form-select {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid #d7dcf3;
	border-radius: 10px;
	padding: 12px 14px;
	background: #ffffff;
}

.form-input input,
.form-select select {
	border: none;
	outline: none;
	width: 100%;
	font-size: 15px;
	color: #5a5a5a;
	background: transparent;
}

.form-input span {
	color: #667085;
	font-weight: 600;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-note {
	margin: 0;
	font-style: italic;
	color: #5f6b7a;
}

.feature-visual {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.future-card {
	background: #eef7e4;
	border-radius: 14px;
	padding: 14px 18px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
	color: #1f2a37;
}

.future-card strong {
	font-size: 24px;
	color: #3e910b;
}
.future-card span {
	font-weight: bold;
	font-size: 22px;
	color: #000000;
}

.feature-chart {
	background: #ffffff;
	border-radius: 16px;
	padding: 16px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.how-section {
	background: #ffffff;
	padding: 72px 0 88px;
}

.how-content {
	text-align: left;
	/* max-width: 880px; */
}

.how-eyebrow {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.12em;
	font-weight: 600;
	color: #3e910b;
}

.how-title {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 600;
	color: #1f2a37;
}

.how-subtitle {
	margin: 0 auto 36px;
	max-width: 680px;
	font-size: 15px;
	line-height: 1.7;
	color: #4a4a4a;
}

.how-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	align-items: start;
}

.how-media {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.how-media img {
	width: 100%;
	height: auto;
	display: block;
}

.how-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.how-card {
	background: transparent;
	border-radius: 0;
	padding: 25px 0 35px;
	box-shadow: none;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	border-bottom: 1px solid #6DD130;
}

.how-card>div {
	padding-left: 28px;
}

.how-card:last-child {
	border-bottom: none;
}

.how-step {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #6DD130;
	color: #6DD130;
	font-weight: 500;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	font-size: 1.7rem;
}

.how-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
}

.how-card p {
	margin: 0;
	font-size: 15px;
	padding-right: 1.4rem;
	color: #5f6b7a;
}

.how-highlight {
	color: #3e910b;
	font-weight: 700;
}

.benefits-section {
	background: #F5F6FA;
	padding: 72px 0 96px;
}

.benefits-content {
	text-align: center;
	max-width: 1100px;
}

.benefits-title {
	margin: 0 0 32px;
	font-size: 28px;
	font-weight: 700;
	color: #2a2a2a;
}

.benefits-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}

.benefit-card {
	background: linear-gradient(135deg, #6dd130 0%, #54bd95 45%, #53af1b 100%);
	border-radius: 18px;
	padding: 1px;
}

.benefit-inner {
	background: #f5f6fa;
	border-radius: 17px;
	padding: 24px 22px 28px;
	min-height: 100%;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
	text-align: center;
}

.benefit-icon {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	margin: 0 auto 16px;
	display: grid;
	place-items: center;
}

.benefit-icon img {
	width: 68px;
	height: 68px;
}

.benefit-inner h3 {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	color: #2a2a2a;
}

.benefit-inner p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #5f6b7a;
}

.plans-section {
	background: #ffffff;
	padding: 72px 0 96px;
}

.plans-content {
	text-align: center;
	max-width: 1100px;
}

.plans-title {
	margin: 0 0 12px;
	font-size: 28px;
	font-weight: 700;
	color: #2a2a2a;
}

.plans-subtitle {
	margin: 0 auto 36px;
	max-width: 680px;
	font-size: 15px;
	line-height: 1.7;
	color: #4a4a4a;
}

.plans-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}


.plans-start,
.plans-table {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	padding: 24px;
}

.plans-start h3 {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
}

.plans-start-item {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	margin-bottom: 18px;
}

.plans-start-item img {
	width: 26px;
	height: 26px;
}

.plans-ghost {
	border: 1px solid #54bd95;
	background: #ffffff;
	color: #6dd130;
	border-radius: 16px;
	padding: 10px 18px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
}

.plans-table {
	padding: 24px 18px;
}

.plans-row {
	display: grid;
	grid-template-columns: 1.2fr repeat(3, 0.8fr);
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	border-top: 1px solid #eef0f5;
	font-size: 14px;
	color: #5f6b7a;
}

.plans-row:first-child {
	border-top: none;
}

.plans-head span {
	font-weight: 700;
	color: #2a2a2a;
	font-size: 13px;
}

.plans-row img {
	width: 26px;
	height: 26px;
	margin: 0 auto;
}

.plans-row>span:first-child {
	text-align: left;
	font-weight: 600;
	color: #6a6a6a;
}

.plans-text {
	text-align: center;
	color: #6a6a6a;
}

.plans-prices {
	border-top: 1px solid #eef0f5;
	font-size: 13px;
	color: #6a6a6a;
}

.plans-prices > div {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.plans-prices .price-line {
	display: flex;
	align-items: baseline;
	gap: 3px;
	white-space: nowrap;
}

.plans-prices strong {
	font-size: 16px;
	color: #2a2a2a;
	font-weight: 700;
}

.plans-prices span {
	font-size: 11px;
	color: #6a6a6a;
	font-weight: 400;
}

.plans-prices small {
	font-size: 11px;
	color: #8a8a8a;
}

.plans-actions {
	border-top: none;
	padding-top: 16px;
}

.plans-actions .plans-ghost {
	width: 100%;
}

.plans-actions-mobile {
	display: none;
	margin-top: 16px;
}

.plans-actions-mobile .plans-ghost {
	width: 100%;
}

.faq-container {
	background: #ffffff;
	padding: 80px 0 110px;
}

.faq-content {
	max-width: 920px;
	margin: 0 auto;
	padding: 0 20px;
	text-align: center;
}

.faq-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 36px;
}

.faq-eyebrow {
	font-size: 12px;
	letter-spacing: 0.2em;
	font-weight: 700;
	color: #6dd130;
}

.faq-title {
	font-size: 34px;
	font-weight: 700;
	color: #2a2a2a;
	margin: 0;
}

.faq-item {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 8px 20px rgba(42, 42, 42, 0.06);
	border: 1px solid #f0f0f5;
	padding: 22px 24px;
	text-align: left;
}

.faq-item + .faq-item {
	margin-top: 16px;
}

.faq-question {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 18px;
	font-weight: 600;
	color: #2a2a2a;
	cursor: pointer;
}

.faq-question::-webkit-details-marker {
	display: none;
}

.faq-question::marker {
	content: "";
}

.icon-container {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #f7f7ff;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	color: #6f6c90;
}

.faq-icon {
	width: 14px;
	height: 14px;
}

.faq-answer {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.7;
	color: #6f6c90;
}

.faq-item[open] .icon-container {
	background: #6dd130;
	color: #ffffff;
}

.faq-item[open] .icon-vertical {
	opacity: 0;
}

.contact-section {
	margin-top: 40px;
	text-align: center;
	color: #2a2a2a;
}

.contact-question {
	margin: 0 0 8px;
	font-size: 15px;
	color: #6f6c90;
}

.contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	padding: 12px 22px;
	border-radius: 12px;
	background: #6dd130;
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
}

.site-footer {
	background: #f5f6fa;
	padding: 40px 0 15px;
}

.footer-card {
	max-width: 1180px;
	margin: 0 auto;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	padding: 24px 40px 28px;
	width: 100%;
}

.footer-logo {
	height: 65px;
	width: auto;
}

.footer-desktop {
	display: block;
}

.footer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: #6a6a6a;
	font-size: 15px;
}

.footer-brand p {
	margin: 0;
}

.footer-actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.footer-cta {
	text-decoration: none;
	font-weight: 600;
	border-radius: 10px;
	padding: 10px 22px;
	font-size: 14px;
	border: 1px solid transparent;
}

.footer-cta-primary {
	background: #ff8a00;
	color: #ffffff;
}

.footer-cta-secondary {
	background: transparent;
	color: #2a2a2a;
	border-color: #2a2a2a;
}

.footer-action-divider {
	width: 1px;
	height: 28px;
	background: #cfcfcf;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	margin: 28px 0 22px;
	font-size: 15px;
}

.footer-nav a {
	color: #2a2a2a;
	text-decoration: none;
}

.footer-divider {
	height: 1px;
	background: #d9d9d9;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	font-size: 13px;
	color: #6a6a6a;
}

.footer-legal {
	display: flex;
	gap: 22px;
}

.footer-legal a {
	color: #6a6a6a;
	text-decoration: none;
}

.footer-mobile {
	display: none;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 12px;
}

.footer-mobile h3 {
	margin: 12px 0 0;
	font-size: 24px;
	font-weight: 700;
	color: #2a2a2a;
}

.footer-email {
	margin: 0;
	font-size: 18px;
	color: #6a6a6a;
}

.footer-cta-full {
	width: 100%;
	justify-content: center;
	padding: 14px 20px;
	border-radius: 12px;
}

.footer-social {
	display: flex;
	gap: 16px;
	margin-top: 6px;
}

.footer-social-link {
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: none;
	color: #2a2a2a;
	display: grid;
	place-items: center;
	text-decoration: none;
}

.footer-social-link img {
	width: 42px;
	height: 42px;
	display: block;
}

.footer-copy,
.footer-policy {
	margin: 0;
	font-size: 14px;
	color: #6a6a6a;
}

@media (max-width: 991.98px) {
	.faq-container {
		padding: 70px 0 90px;
	}

	.faq-title {
		font-size: 30px;
	}

	.faq-question {
		font-size: 16px;
	}

	.faq-item {
		padding: 16px 18px;
	}

	.site-footer {
		padding: 60px 0 80px;
	}

	.footer-card {
		padding: 32px 24px 30px;
	}

	.footer-top {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-actions {
		width: 100%;
		justify-content: flex-start;
	}

	.footer-nav {
		justify-content: flex-start;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 640px) {
	.faq-container {
		padding: 64px 0 80px;
	}

	.faq-title {
		font-size: 28px;
	}

	.faq-answer {
		font-size: 13.5px;
	}

	.footer-card {
		padding: 28px 22px 34px;
	}

	.footer-desktop {
		display: none;
	}

	.footer-mobile {
		display: flex;
	}

	.footer-cta-full {
		margin-top: 12px;
	}

	.chart-bars {
		gap: 6px;
	}

	.bar-stack {
		width: 14px;
	}

	.chart-x-axis {
		font-size: 9px;
	}

	.chat-modal__panel {
		width: 100%;
		height: 100%;
		margin: 0;
		border-radius: 0;
		grid-template-columns: 1fr;
	}

	.chat-sidebar {
		position: fixed;
		top: 0;
		left: -280px;
		width: 280px;
		height: 100%;
		z-index: 1100;
		transition: left .25s ease;
		border-right: 1px solid #ddd;
		box-shadow: 4px 0 16px rgba(0,0,0,.12);
	}

	.chat-sidebar.is-open {
		left: 0;
	}

	.chat-sidebar__toggle {
		display: flex;
	}

	.chat-sidebar__overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,.35);
		z-index: 1099;
		opacity: 0;
		pointer-events: none;
		transition: opacity .25s ease;
	}

	.chat-sidebar__overlay.is-visible {
		opacity: 1;
		pointer-events: auto;
	}

	.chat-modal__content {
		padding: 18px 18px 10px;
	}

	.chat-message {
		max-width: 85%;
	}

	.chat-cta {
		align-self: stretch;
		text-align: center;
	}

	.portfolio-modal__panel {
		width: 100%;
		height: 100%;
		margin: 0;
	}

	.portfolio-modal__header {
		padding: 12px 12px 0;
	}

	.portfolio-modal .portfolio-container {
		padding: 8px 12px 18px;
	}

	.portfolio-modal .portfolio-card {
		border-radius: 24px;
	}
}

.testimonials-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 72px 0 96px;
	background-color: #f5f6fa;
	font-family: "Poppins", sans-serif;
}

.testimonials-header {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 1240px;
	margin-bottom: 48px;
	padding: 0 20px;
	text-align: center;
}

.header-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
}

.section-eyebrow {
	font-size: 12px;
	letter-spacing: 0.12em;
	font-weight: 700;
	color: #3e910b;
}

.section-title {
	font-size: 36px;
	font-weight: 700;
	color: #2a2a2a;
	margin: 0;
	line-height: 1.2;
}

.section-subtitle {
	font-size: 16px;
	font-weight: 400;
	color: #6a6a6a;
	line-height: 28px;
	margin: 0;
	max-width: 540px;
}

.testimonials-wrapper {
	width: 100%;
	max-width: 1240px;
	overflow: hidden;
	padding: 0 20px;
}

.testimonials-container {
	display: flex;
	gap: 24px;
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	/* Optimizaciones para scroll suave */
	will-change: scroll-position;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	perspective: 1000px;
	-webkit-perspective: 1000px;
}

.testimonials-container::-webkit-scrollbar {
	display: none;
}

.testimonial-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 32px 48px;
	border-radius: 24px;
	width: 100%;
	min-width: calc((100% - 48px) / 3);
	max-width: calc((100% - 48px) / 3);
	background-color: #ffffff;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
	flex-shrink: 0;
	scroll-snap-align: start;
	scroll-snap-stop: normal;
	/* Optimizaciones de rendimiento */
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
	will-change: transform;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.testimonial-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	width: 100%;
}

.profile-image {
	width: 172px;
	height: 172px;
	border-radius: 100px;
	margin-bottom: 24px;
	object-fit: cover;
}

.testimonial-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.user-name {
	font-size: 22px;
	font-weight: 500;
	color: #2a2a2a;
	margin: 0;
	text-align: center;
}

.user-profession {
	font-size: 16px;
	font-weight: 600;
	color: #7d7d7d;
	margin: 0;
	text-align: center;
}

.user-quote {
	font-size: 16px;
	font-weight: 400;
	color: #4a4a4a;
	line-height: 24px;
	text-align: center;
	margin: 0;
	border: none;
	padding: 0;
}

.star-rating {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin: 8px 0;
}

.star {
	color: #ffd700;
	font-size: 20px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.star.empty {
	color: #e0e0e0;
	text-shadow: none;
}

.testimonials-dots {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	margin-top: 28px;
}

.testimonials-dot {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: #d9d9d9;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.testimonials-dot.is-active {
	background: #b0b0b0;
	transform: scale(1.1);
}

@media (max-width: 991px) {
	.testimonials-section {
		padding: 80px 0;
	}

	.testimonials-header {
		flex-direction: column;
		align-items: center;
		gap: 18px;
		text-align: center;
	}

	.testimonial-card {
		min-width: calc((100% - 24px) / 2);
		max-width: calc((100% - 24px) / 2);
	}
}

@media (max-width: 640px) {
	.testimonials-section {
		padding: 64px 0;
	}

	.section-title {
		font-size: 30px;
	}

	.section-subtitle {
		font-size: 16px;
	}

	.testimonials-wrapper {
		overflow: hidden;
		position: relative;
		padding-bottom: 10px;
	}

	.testimonials-container {
		gap: 0;
		padding: 0 20px;
		scroll-snap-type: x mandatory;
		scroll-padding: 20px;
	}

	.testimonial-card {
		min-width: calc(100vw - 40px);
		max-width: calc(100vw - 40px);
		margin: 0 20px;
		padding: 24px 20px 48px;
		box-sizing: border-box;
		scroll-snap-align: center;
		scroll-snap-stop: always;
	}

	.testimonials-container .testimonial-card:nth-child(n + 6) {
		display: none;
	}

	.profile-image {
		width: 140px;
		height: 140px;
	}

	.user-name {
		font-size: 20px;
	}

	.user-profession {
		font-size: 14px;
	}

	.user-quote {
		font-size: 16px;
	}

	.testimonials-container {
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

}

.chart-legend-inline {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #7a7a99;
	margin-bottom: 12px;
}

.bar-chart {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 12px;
}

.chart-y-axis {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font-size: 12px;
	color: #9aa3b2;
	padding-bottom: 18px;
}

.chart-area {
	position: relative;
	min-height: 260px;
	border-bottom: 1px dashed #cdd3e1;
	background: repeating-linear-gradient(to top,
			rgba(205, 211, 225, 0.7) 0,
			rgba(205, 211, 225, 0.7) 1px,
			transparent 1px,
			transparent 48px);
	padding-bottom: 18px;
}

.chart-bars {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 18px;
	top: 8px;
	display: flex;
	align-items: flex-end;
	gap: 14px;
}

.bar-col {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	height: 100%;
}

.bar-stack {
	width: 22px;
	border-radius: 6px 6px 0 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	transition: height 0.4s ease;
}

.feature-chart.is-compact .bar-stack {
	width: 14px;
}

.bar-invest {
	background: #bfe8a6;
	transition: height 0.4s ease;
}

.bar-return {
	background: #53af1b;
	transition: height 0.4s ease;
}

.chart-x-axis {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-size: 11px;
	color: #9aa3b2;
}

.chart-x-axis span {
	flex: 1;
	text-align: center;
}

@media (min-width: 992px) {
	.site-header {
		/* border-bottom: none; */
		background: #ffffff;
		box-shadow: 0 14px 30px rgba(42, 42, 42, 0.12);
	}

	.header-inner {
		padding: 22px 18px;
	}

	.site-logo {
		height: 42px;
	}

	.main-nav {
		display: flex;
		gap: 26px;
	}

	.menu-toggle {
		display: none;
	}

	.nav-cta {
		display: inline-flex;
		padding: 10px 26px;
		border-radius: 12px;
	}

	.hero-layout {
		grid-template-columns: minmax(520px, 6fr) minmax(0, 6.5fr);
		grid-template-areas:
			"text chart"
			"consult chart";
		align-items: stretch;
	}

	.hero-text {
		grid-area: text;
	}

	.hero-chart {
		grid-area: chart;
		align-self: start;
		display: flex;
		align-items: flex-start;
	}

	.hero-chart-img {
		width: 100%;
		height: auto;
	}

	.consult-section {
		grid-area: consult;
	}

	.hero-title {
		font-size: 46px;
	}

	.hero-subtitle {
		font-size: 17px;
	}

	.consult-title {
		font-size: 20px;
	}

	.about-section {
		padding: 72px 0 96px;
	}

	.about-title {
		font-size: 36px;
	}

	.about-subtitle {
		font-size: 16px;
	}

	.about-chart img {
		width: 520px;
	}

	.feature-section {
		padding: 80px 0 120px;
	}

	.feature-title {
		font-size: 32px;
	}

	.feature-grid {
		grid-template-columns: 1fr 1.1fr;
		align-items: start;
		gap: 40px;
	}

	.feature-visual {
		padding-top: 16px;
	}

	.chart-area {
		min-height: 300px;
	}

	.how-section {
		padding: 90px 0 120px;
	}

	.how-title {
		font-size: 32px;
	}

	.how-layout {
		grid-template-columns: 1fr 1fr;
		align-items: stretch;
		gap: 36px;
	}

	.how-media {
		height: 100%;
	}

	.how-media img {
		height: 100%;
		object-fit: cover;
	}

	.benefits-section {
		padding: 90px 0 120px;
	}

	.benefits-title {
		font-size: 32px;
	}

	.benefits-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}

	.benefit-inner {
		padding: 28px 24px 32px;
	}

	.plans-section {
		padding: 90px 0 120px;
	}

	.plans-title {
		font-size: 38px;
	}

	.plans-grid {
		grid-template-columns: 0.9fr 1.1fr;
		align-items: start;
		gap: 28px;
	}

	.plans-start {
		padding: 32px 28px;
	}

	.plans-table {
		padding: 28px 24px;
	}

	.plans-row {
		grid-template-columns: 1.1fr repeat(3, 0.9fr);
		font-size: 13px;
	}
}

@media (max-width: 991.98px) {
	.benefits-title {
		font-size: 26px;
	}

	.plans-title {
		font-size: 35px;
	}

	.plans-start-item {
		justify-content: center;
	}

	.plans-table {
		padding: 20px 10px;
	}

	.plans-row {
		grid-template-columns: minmax(0, 72px) repeat(3, 1fr);
		gap: 6px;
		font-size: 12px;
	}

	.plans-row > span:first-child {
		font-size: 11px;
		line-height: 1.3;
	}

	.plans-row img {
		width: 22px;
		height: 22px;
	}

	.plans-prices strong {
		font-size: 13px;
	}

	.plans-prices span {
		font-size: 10px;
	}

	.plans-prices small {
		font-size: 10px;
	}

	.plans-head span {
		font-size: 11px;
	}

	.plans-actions {
		display: none !important;
	}

	.plans-actions-mobile {
		display: block;
	}

	.plans-actions-mobile .plans-ghost {
		width: 100%;
	}

	.plans-start .plans-ghost {
		width: 100%;
		max-width: 420px;
		margin: 0 auto;
	}

	.how-content {
		text-align: left;
	}

	.how-media {
		border-radius: 22px;
	}

	.how-steps {
		text-align: center;
	}

	.how-steps .how-title,
	.how-steps .how-subtitle {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}

	.how-card {
		text-align: left;
	}

	.feature-content {
		text-align: center;
	}

	.feature-grid {
		text-align: left;
	}

	.future-card {
		flex-direction: column;
		gap: 6px;
		text-align: center;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.chart-area {
		min-height: 240px;
	}

	.hero-title {
		font-size: 26px;
		text-align: center;
	}

	.hero-subtitle {
		text-align: center;
	}

	.consult-title {
		text-align: center;
		font-size: 25px;
		font-weight: 600;
	}

	.consult-mobile-text, .consult-arrow{
		display: inline;
	}

	.input-wrapper {
		padding: 4px 8px;
		border-radius: 10px;
	}

	.input-wrapper input {
		padding: 10px 12px;
		font-size: 13px;
	}

	.submit-btn {
		width: 34px;
		height: 34px;
		border-radius: 999px;
		background: #b8b8b8;
		margin-right: 4px;
	}

	.submit-btn svg {
		width: 18px;
		height: 18px;
	}
}

@media (min-width: 1200px) {
	.hero-title {
		font-size: 45px;
	}
}



/* ============================================================== 
     # Formulario
=================================================================== */
/* Main container */


.portfolio-container {
  max-width: none;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;

  background: white;
  padding: 20px 20px;
  position: relative;
  overflow: hidden;
}

/* Card container */
.portfolio-card {
  overflow: hidden;
  width: 100%;
  max-width: 1050px;
  background: linear-gradient(180deg,
      rgba(134, 222, 190, 0.322) 0%,
      rgba(110, 209, 48, 0.123) 100%);
  border-radius: 40px;
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
  position: relative;
  /* ya estaba */
  border-radius: 40px;
}

/* Header section */
.portfolio-header {
  margin-bottom: 48px;
}

.portfolio-title {
  font-family: "Gate", sans-serif;
  font-size: 38px;
  font-weight: 500;
  color: #2a2a2a;
  margin-bottom: 24px;
}

.portfolio-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: #2a2a2a;
  line-height: 32px;
  display: block;
}

/* Content section */
.portfolio-content {
  font-size: 15px;
  /* font-weight: 400; */
  color: #2a2a2a;
  margin-bottom: 48px;
  line-height: 1.8;
  font-family: "Gate", sans-serif;
}

.highlight {
  color: #53af1b;
}

.highlight-long {
  color: #53af1b;
}

/* Footer section */
.portfolio-footer {
  text-align: center;
}

.portfolio-button {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: white;
  background-color: #e4710c;
  padding: 14px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.portfolio-button:hover {
  background-color: #d26200;
}

/* Decorative SVG elements */
.decoration-right,
.decoration-left {
  position: absolute;
	z-index: 0;
	pointer-events: none;
}

.svg-right {
  position: absolute;
  top: 79px;
  left: 174px;
  width: 350px;
  height: 80px;
  /* bottom: -100px; */
  /* width: 60;
  height: 60px; */
	z-index: 0;
  clip-path: polygon(0 0, 102% 0, 97% 90%, 90% 95%, 0 100%);
}

.svg-left {
  position: absolute;
  top: 79px;
  right: 174px;
  width: 350px;
  height: 80px;
	z-index: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 95%, 3% 90%, -2% 0);
}

.portfolio-header,
.portfolio-content,
.portfolio-footer {
	position: relative;
	z-index: 1;
}

#simple-questionnaire-form>div.form-group.active>p>span {
  font-size: 1.4rem;
  font-weight: 300;
}

/* Responsive styles */
@media (max-width: 991px) {
  .portfolio-card {
    padding: 20px;
  }

  .portfolio-title {
    font-size: 32px;
  }

  .portfolio-subtitle {
    font-size: 16px;
    font-family: "Gate", sans-serif;
  }

  .portfolio-content {
    font-size: 20px;
  }

  .portfolio-button {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .portfolio-card {
    padding: 16px;
    border-radius: 30px;
  }

  .portfolio-title {
    font-size: 28px;
  }

  .portfolio-subtitle {
    font-size: 14px;
  }

  .portfolio-content {
    font-size: 18px;
  }

  .portfolio-button {
    font-size: 14px;
    width: 100%;
  }

  .svg-right,
  .svg-left {
    width: 300px;
    height: 250px;
    display: none;
  }
}

/* Clases para el formulario dinámico */
form {
  margin-top: 24px;
}

.form-group {
	display: block;
	margin-bottom: 24px;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transform: translateY(8px);
	transition: max-height 0.6s ease, opacity 0.4s ease, transform 0.4s ease;
}

.form-group.active {
	max-height: 500px;
	opacity: 1;
	transform: translateY(0);
}

.form-group span.label {
  font-size: 14px;
  color: #2a2a2a;
}

.form-group input,
.form-group select {
  font-size: 24px;
  color: #53af1b;
  background: transparent;
  border: none;
  border-bottom: 2px solid #53af1b;
  padding: 4px 8px;
  margin: 0 4px;
  min-width: 80px;
}

.form-submit {
  display: none;
  margin-top: 24px;
}

.form-submit.active {
  display: inline-block;
}


/* Aplica a inputs y selects dentro de la sección de contenido */
.portfolio-content input,
.portfolio-content select {
  font-family: Gate, sans-serif;
  /* misma familia que tus spans */
  font-size: 2.8rem;
  /* igual que el texto de Gate en tu formulario viejo */
  color: #49b66b;
  /* mismo verde */
  background: transparent;
  /* sin fondo */
  border: none;
  border-bottom: 2px solid #49b66b;
  /* línea inferior verde */
  padding: 0.2em 0.3em;
  /* un poquito de espacio interno */
  margin: 0 0.2em;
  /* separación lateral similar a tus spans */
  min-width: 4ch;
  /* evita que queden demasiado estrechos */
  display: inline-block;
  /* para alinearse junto al texto */
  vertical-align: baseline;
  /* alinea la línea de base del texto */
  appearance: none;
  /* neutraliza estilos por defecto del navegador */
}

/* Ajuste específico para select: flecha externa y padding */
.portfolio-content select {
  padding-right: 1.5em;
  /* espacio para la flecha */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%2349b66b' d='M2 0L0 2h4L2 0zM2 5L0 3h4l-2 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5em center;
  background-size: 0.65em auto;
}

/* Quita el outline por defecto en foco y dibuja tu propio indicador */
.portfolio-content input:focus,
.portfolio-content select:focus {
  outline: none;
  border-bottom-color: #333343;
  /* igual que antes: color oscuro al focus */
}

/* animación para mostrar */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group.active {
	animation: fadeInUp 0.5s ease-out forwards;
}

/* Modal de email */
.email-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.email-modal-content {
  background: linear-gradient(180deg, #ffffff 0%, rgb(185, 209, 170) 100%);
  border-radius: 40px;
  margin: 10% auto;
  padding: 40px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.email-modal-content h2 {
  font-size: 32px;
  font-weight: 500;
  color: #2a2a2a;
  margin-bottom: 20px;
}

.email-modal-content p {
  font-size: 18px;
  color: #4a4a4a;
  margin-bottom: 24px;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.email-form input {
  padding: 15px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.email-form .portfolio-button {
  display: block;
  background-color: #e4710c;
  color: white;
  border: none;
  margin: 0 auto;
}

.close-email-modal {
  color: #2a2a2a;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* Media queries para responsividad */
@media (max-width: 640px) {
  .email-modal-content {
      padding: 25px;
      margin: 20% auto;
  }
  
  .email-modal-content h2 {
      font-size: 24px;
  }
  
  .email-modal-content p {
      font-size: 16px;
  }
}

/* Viejo */
.simple-questionnaire-form {
  /* background-color: #23233b; */
}

.form-group span {
  font-size: 30px;
}

.form-group .form-text {
  font-size: 35px;
  font-family: 'iBrand', sans-serif;
}

.custom-span-style {
  font-family: Gate;
  font-size: 40px;
}

#ageField {
  width: 65px;
  color: #49b66b;
  font-weight: 400;
  font-size: 1.4rem;
  font-family: Gate, sans-serif;
  border-bottom: 2px dashed #6dd130;
  box-sizing: border-box;
}

#investmentTime {
  width: 15rem;
  height: 4.5rem;
  color: #49b66b;
  font-weight: 400;
  font-size: 1.4rem;
  font-family: Gate, sans-serif;
  border-bottom: 2px dashed #6dd130;
  box-sizing: border-box;

}

#savingsPercentEstimateSelectField {
  width: 150px;
  height: 5rem;
  color: #49b66b;
  font-weight: 400;
  font-size: 1.4rem;
  font-family: Gate, sans-serif;
  border-bottom: 2px dashed #6dd130;
  box-sizing: border-box;
}

#riskPerception {
  width: 250px;
  height: 5rem;
  color: #49b66b;
  font-weight: 400;
  font-size: 1.4rem;
  font-family: Gate, sans-serif;
  border-bottom: 2px dashed #6dd130;
  box-sizing: border-box;
}

#investmentExperience {
  width: 220px;
  height: 4.5rem;
  color: #49b66b;
  font-weight: 400;
  font-size: 1.4rem;
  font-family: Gate, sans-serif;
  margin-bottom: 20px;
  border-bottom: 2px dashed #6dd130;
  box-sizing: border-box;
}

#investmentObjective {
  height: 5rem;
  width: auto;
  color: #49b66b;
  font-weight: 400;
  font-size: 1.4rem;
  font-family: Gate, sans-serif;
  border-bottom: 2px dashed #6dd130;
  box-sizing: border-box;
}

#investmentAmount {
  width: 180px;
  color: #49b66b;
  font-weight: 400;
  font-size: 1.4rem;
  font-family: Gate, sans-serif;
  border-bottom: 2px dashed #6dd130;
  box-sizing: border-box;
}

#marketReaction {
  width: 220px;
  height: 5rem;
  color: #49b66b;
  font-weight: 400;
  font-size: 1.4rem;
  font-family: Gate, sans-serif;
  border-bottom: 2px dashed #6dd130;
  box-sizing: border-box;
}

#gender {
  width: 150px;
  height: 5rem;
  color: #49b66b;
  font-weight: 400;
  font-size: 1.4rem;
  font-family: Gate, sans-serif;
  border-bottom: 2px dashed #6dd130;
  box-sizing: border-box;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.simple-questionnaire-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.simple-questionnaire-form .form-group label {
  display: block;
  /* margin-bottom: 5px; */
  font-weight: bold;
}

.simple-questionnaire-form .form-group span {
  font-family: 'iBrand', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  /*add ibrand font*/

}

.simple-questionnaire-form .form-group input,
.simple-questionnaire-form .form-group select {
  width: auto;
  /* padding: 10px; */
  border: none;
  border-bottom: 2px solid #49b66b;
  background: none;
  box-shadow: none;
  outline: none;
  font-size: 16px;
  /* margin-bottom: 10px; */
  display: inline-block;
}

.simple-questionnaire-form .form-group input:focus,
.simple-questionnaire-form .form-group select:focus {
  border-bottom-color: #333343;
}

.simple-questionnaire-form .form-group .input-prefix {
  display: inline-block;
  margin-right: -25px;
  font-size: 16px;
  vertical-align: middle;
}

.simple-questionnaire-form .btn {
  background-color: #ffffff;
  color: #49b66b;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.simple-questionnaire-form .btn:hover {
  background-color: #49b66b;
  color: #fff;
}

.hidden {
  display: none;
}

.show {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   LOGIN MODAL  (.lm-*)
   Namespace: lm = login modal
============================================================ */
.lm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9900;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c5c5c56d;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    padding: 20px;
}

.lm-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.lm-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 36px 36px;
    width: 100%;
    max-width: 440px;
	box-shadow: -2px 2px 25px #55b11b38,
				2px -2px 25px #55b11b38;
    transform: translateY(14px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.22s ease;
    opacity: 0;
}

.lm-overlay.is-open .lm-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Close button */
.lm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f4f4f4;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    transition: background 0.15s;
    flex-shrink: 0;
}

.lm-close:hover {
    background: #e8e8e8;
    color: #111;
}

/* Logo */
.lm-logo {
    display: block;
    height: 56px;
    width: auto;
    margin: 0 auto 24px;
}

/* State containers */
.lm-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.lm-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0e1a0a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.lm-subtitle {
    font-size: 14px;
    color: #6b7a65;
    margin: 0 0 24px;
    line-height: 1.5;
}

.lm-label {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: #2d3d28;
    margin-bottom: 6px;
}

.lm-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #d1dac9;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #0e1a0a;
    background: #fafcf8;
    outline: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.lm-input:focus {
    border-color: #38651D;
    box-shadow: 0 0 0 3px rgba(56, 101, 29, 0.12);
    background: #fff;
}

.lm-input.lm-input--error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
    animation: lmShake 0.32s ease;
}

@keyframes lmShake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    60%       { transform: translateX(6px); }
    80%       { transform: translateX(-3px); }
}

/* Buttons */
.lm-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, opacity 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid transparent;
}

.lm-btn--primary {
    background: #5CAE27;
    color: #fff;
    border-color: #5CAE27;
}

.lm-btn--primary:hover:not(:disabled) {
    background: #4A9E1F;
    box-shadow: 0 4px 14px rgba(92, 174, 39, 0.35);
}

.lm-btn--primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.lm-btn--outline {
    background: transparent;
    color: #38651D;
    border-color: #38651D;
}

.lm-btn--outline:hover:not(:disabled) {
    background: #E9F8E0;
}

.lm-btn--outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Spinner */
.lm-spin {
    animation: lmRotate 0.9s linear infinite;
}

@keyframes lmRotate {
    to { transform: rotate(360deg); }
}

/* Sent state */

.lm-sent-message {
    font-size: 14px;
    color: #5CAE27;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 16px;
    text-align: left;
}

.lm-success-msg {
    font-size: 14px;
    color: #2d3d28;
    line-height: 1.6;
    margin: 0 0 4px;
    font-weight: 500;
}

.lm-email-display {
    font-size: 14px;
    color: #0e1a0a;
    line-height: 1.6;
    margin: 0 0 12px;
    font-weight: 400;
}

.lm-resend-hint {
    font-size: 12px;
    color: #8a9885;
    margin: 0 0 22px;
}

.lm-countdown {
    font-size: 13px;
    color: #8a9885;
    font-weight: 400;
}

#lmCountdownInline {
    font-size: 12px;
    color: #8a9885;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 480px) {
    .lm-card {
        padding: 32px 22px 28px;
        border-radius: 16px;
    }

    .lm-title {
        font-size: 19px;
    }
}