/* ============================================
   Planes de Alojamiento WordPress
   ============================================ */

.planes-video-bg.nk-awb {
	z-index: 0;
	width: 100%;
	overflow: hidden;
}

.planes-video-bg .nk-awb-wrap,
.planes-video-bg .nk-awb-inner {
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	margin-top: -450px;
}

.planes-video-bg .nk-awb-wrap-content {
	position: relative;
	z-index: 2;
}

.planes-suscripcion-wrap {
	--planes-accent: #FFB905;
	--planes-primary: #16164A;
	--planes-primary-dark: #16164A;
	--planes-card-bg: #16164A;
	--planes-text-light: #FFB905;
	--planes-muted: rgba(255, 185, 5, 0.6);
	--planes-border: rgba(255, 255, 255, 0.12);
	padding: 64px 0;
	position: relative;
	box-sizing: border-box;
}

.planes-suscripcion-wrap .nk-awb-wrap-content {
	padding: 0;
}

.planes-header {
	text-align: center;
	margin-bottom: 48px;
	margin-inline: auto;
	padding: 0 20px;
}

@keyframes blink-dot {

	0%,
	49% {
		opacity: 1;
	}

	50%,
	100% {
		opacity: 0.2;
	}
}

.planes-tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #1034CC;
	border: 1px solid rgba(16, 52, 204, 0.3);
	color: white;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 100px;
	margin-bottom: 28px;
}

.planes-tag::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: white;
	border-radius: 50%;
	animation: blink-dot 1.5s ease-in-out infinite;
}

.planes-title {
	font-size: clamp(34px, 5.5vw, 64px);
	letter-spacing: -1px;
	line-height: 1.05;
	margin-bottom: 18px;
	color: #16164A;
}

.planes-title em {
	font-style: normal;
	color: #1034CC;
}

.planes-intro {
	font-size: 16px;
	font-weight: 400;
	max-width: 480px;
	margin-inline: auto;
	line-height: 1.7;
	margin-bottom: 36px;
	color: #16164A;
}

.planes-divider {
	border-color: transparent;
	margin-block: 0;
	display: none;
}

.section-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 32px 0 20px;
	font-size: 0;
}

.section-head span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #7a7a8c;
	white-space: nowrap;
}

.section-head::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.07);
}

/* Grid layout */
.planes-grid.wp-block-group {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 14px;
	align-items: stretch;
	margin-bottom: 80px;
	width: calc(100% - 40px);
	max-width: 1080px;
	margin-inline: auto;
	padding: 0 20px;
}

.planes-grid .plan-col {
	align-self: stretch;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: visible;
	margin: 0 !important;
	padding: 0 !important;
}

/* Editor: columnas apiladas verticalmente para edición fácil */
.editor-styles-wrapper .planes-grid.wp-block-group {
	grid-template-columns: 1fr !important;
}

.plan {
	background: #16164A;
	border: 1px solid rgba(255, 185, 5, 0.2);
	border-radius: 14px;
	padding: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	box-sizing: border-box;
	transition: border-color 0.2s, transform 0.2s;
	cursor: pointer;
	height: 100%;
}

.plan:hover {
	border-color: rgba(255, 185, 5, 0.35);
	transform: translateY(-2px);
}

.plan.active {
	border-color: #FFB905;
}

.plan .plan-head {
	width: 100%;
	box-sizing: border-box;
	padding: 22px 22px 18px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start !important;
	gap: 16px;
}

.plan .plan-meta {
	flex: 1 1 auto;
	min-width: 0;
}

.plan .plan-code {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #FFB905;
	opacity: 0.65;
	margin: 0 0 5px;
}

.plan .plan-name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #f2f2f0;
	margin: 0;
}

.plan .plan-price-block {
	text-align: right;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-left: auto;
	min-width: 80px;
}

.plan .plan-price-block p {
	margin: 0;
}

.plan .plan-price-block .sym {
	font-size: 0.6em;
	vertical-align: super;
	font-weight: 700;
	color: #FFB905 !important;
	opacity: 0.9;
	margin-right: 2px;
}

.plan .plan-price-block .amount {
	font-size: 32px;
	font-weight: 800;
	color: #FFB905 !important;
	letter-spacing: -0.5px;
	line-height: 0.8;
}

.plan .plan-price-block .mo {
	font-size: 11px;
	color: #7a7a8c;
	margin-top: 1px;
}

.plan .plan-stats {
	display: flex !important;
	flex-wrap: nowrap !important;
	border-top: 1px solid rgba(255, 185, 5, 0.15) !important;
	border-bottom: 1px solid rgba(255, 185, 5, 0.15) !important;
	padding: 16px 0 !important;
	margin: 0 !important;
	gap: 0 !important;
	width: 100% !important;
	align-items: stretch !important;
}

.plan .plan-stats > div {
	flex: 1 !important;
	padding: 0 12px !important;
	text-align: center !important;
	border-right: 1px solid rgba(255, 185, 5, 0.15) !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	align-items: center !important;
}

.plan .plan-stats > div:last-child {
	border-right: none;
}

.plan .stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.plan .stat-val {
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	line-height: 1;
}

.plan .stat-lbl {
	font-size: 10px;
	color: #7a7a8c;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0;
	line-height: 1;
}

.plan .plan-actions {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
	padding: 12px 16px !important;
	overflow: hidden !important;
	margin-top: auto !important;
}

.plan-actions .wp-block-button {
	width: auto;
	margin: 0;
	flex: 0 0 auto;
}

.plan-actions .wp-block-button__link {
	width: auto !important;
	text-align: center !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	font-weight: 400 !important;
	padding: 7px 11px !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	transition: border-color 0.15s, color 0.15s !important;
	background: none !important;
	outline: none !important;
	border: 1px solid rgba(255, 255, 255, 0.13) !important;
	color: #a0a0b8 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 5px !important;
	box-shadow: none !important;
	text-decoration: none !important;
}

.btn-toggle .wp-block-button__link:hover {
	border-color: rgba(255, 255, 255, 0.28);
	color: #d0d0e8;
}

.btn-select .wp-block-button__link {
	background: rgba(232, 255, 71, 0.08) !important;
	border: 1px solid rgba(232, 255, 71, 0.2) !important;
	color: #FFB905 !important;
	font-weight: 700 !important;
	padding: 7px 14px !important;
}

.btn-select .wp-block-button__link:hover {
	background: rgba(232, 255, 71, 0.14);
	border-color: rgba(232, 255, 71, 0.4);
}

.plan.active .btn-select .wp-block-button__link {
	background: #FFB905;
	color: #16164A;
	border-color: #FFB905;
}

.plan-details {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
	opacity: 0;
	margin: 0;
	padding: 0;
}

.plan.open .plan-details,
.plan.open .plan-details > .wp-block-group__inner-container {
	max-height: 2000px;
	opacity: 1;
	border-top: 1px solid rgba(255, 185, 5, 0.15);
	padding: 18px 22px 22px;
	display: flex;
	visibility: visible;
	overflow: visible;
	flex-direction: column;
}

.plan-details.has-global-padding {
	padding: 0;
}

.plan-details > div {
	margin-bottom: 16px;
	padding: 0;
}

.plan-details > div:last-child {
	margin-bottom: 0;
}

.feat-group-title {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #7a7a8c;
	margin: 0 0 16px;
}

.plan-details .wp-block-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding-left: 0;
}

.plan-details .wp-block-list li {
	font-size: 13px;
	color: #c0c0d0;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.5;
	padding: 0;
	border: none;
	margin: 0;
}

.plan-details .wp-block-list li::before {
	content: '';
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	margin-top: 2px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFB905' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
	opacity: 0.6;
}

.planes-form-section {
	display: block;
	margin-top: 80px;
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
	width: calc(100% - 66px);
	padding: 56px 40px;
	background: #1034CC;
	border: none;
	border-radius: 20px;
	text-align: center;
	box-sizing: border-box;
	position: relative;
}

.planes-form-section .gform_wrapper {
	box-shadow: none;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
}

.planes-form-section .gform_wrapper form {
	margin: 0;
}

.planes-form-section .gform_button {
	background-color: #FFB905;
	color: #16164A;
	border: none;
	box-shadow: none;
	font-weight: 700;
	text-transform: none;
	border-radius: 6px;
	padding: 12px 24px;
	cursor: pointer;
}

.planes-form-section .gform_button:hover {
	background-color: #f8b906;
}

.planes-form-title.wp-block-heading {
	color: #ffffff;
	margin-bottom: 12px;
}

.planes-form-sub {
	color: #F8B906;
	font-size: 16px;
	margin-bottom: 36px;
}

.planes-form-section .gfield_label,
.planes-form-section .gfield input,
.planes-form-section .gfield textarea,
.planes-form-section .gfield select {
	color: white;
}

.planes-form-section .gfield input,
.planes-form-section .gfield textarea,
.planes-form-section .gfield select {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--planes-border);
}

.planes-form-section .gfield input:focus,
.planes-form-section .gfield textarea:focus {
	border-color: var(--planes-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 185, 5, 0.15);
}

@media (max-width: 781px) {
	.planes-suscripcion-wrap {
		padding-top: 48px;
		padding-bottom: 48px;
		padding-left: 0;
		padding-right: 0;
	}

	.planes-grid.wp-block-group {
		grid-template-columns: 1fr;
	}

	.planes-grid .plan-col {
		flex-basis: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.planes-form-section {
		padding: 40px 20px;
		margin-top: 40px;
		margin-inline: 10px;
	}
}

#input_40_10 {
	color: #FFB905;
}