/* PRODIG: Productos Digitales — modified full CSS */

/* TITULO / HERO */
.titulopro {
	background-color: #f9f6f1;
	padding: 40px 0;
}

.titulopro-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	flex-wrap: wrap;
	gap: 60px;
	padding: 50px 50px;
}

.titulopro-text {
	flex: 1;
	min-width: 650px;
}

.titulopro-text .etiqueta {
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: 1px;
	color: #55c9cc;
	margin-bottom: 0px;
	text-transform: uppercase;
	padding-left: 20px;
}

.titulopro-text p {
	font-size: 1.2rem;
	color: #333;
	margin-bottom: 30px;
	max-width: 500px;
}

.titulopro-text h1 {
	font-size: 3.8rem;
	font-weight: 400;
	color: #444e56;
	line-height: 1.2;
}

.titulopro-text h1 span {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	color: #55c9cc;
	font-weight: 400;
	font-size: 90px;
	display: inline-block;
	margin-top: 5px;
}

.titulopro-image {
	flex: 1;
	min-width: 300px;
	display: flex;
	justify-content: center;
}

.titulopro-image img {
	width: 100%;
	max-width: 500px;
	border-radius: 10px;
	box-shadow: 0px 20px 40px rgba(0,0,0,0.1);
	object-fit: cover;
}

/* DESARROLLO */
.desarrollo {
	background-color: #ffa500;
	padding: 30px 30px;
	text-align: center;
}

.desarrollo-top h2 {
	font-size: 3rem;
	color: #ffffff;
	margin-top: 0px;
	margin-bottom: 40px;
	font-weight: 300;
	font-family: 'Montserrat', sans-serif;
}

.desarrollo-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 50px;
}

/* Optional section variants retained for compatibility */
#desarrollo-turquesa { background-color: #55c9cc; }
#card-turquesa { box-shadow: 0 0 0 4px #035d5c; }

#letra-turquesa h2 { color: #55c9cc; }
#letra-blanca h2 { color: #ffffff; }
#letra-blanca ul { color: #ffffff; }

/* ========== CARDS (double outline + inline header) ========== */
.card {
	--ring1: #ffa500;             /* light orange ring */
	--ring2: #a72e02;             /* dark orange ring */

	position: relative;
	display: grid;
	grid-template-columns: 56px 1fr;  /* icon + title on same row */
	grid-auto-rows: auto;
	column-gap: 16px;
	row-gap: 14px;

	background-color: #fff;
	padding: 26px 28px 30px;
	border-radius: 20px;
	max-width: 500px;
	text-align: left;
	margin-bottom: 40px;

	/* double outline + subtle elevation */
	box-shadow:
		0 0 0 4px var(--ring1),
		0 0 0 10px var(--ring2),
		0 10px 24px rgba(0,0,0,0.08);

	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow:
		0 0 0 4px var(--ring1),
		0 0 0 10px var(--ring2),
		0 16px 36px rgba(0,0,0,0.12);
}

/* Icon + title row */
.card .icon {
	grid-column: 1;
	grid-row: 1;
	width: 56px;
	height: 56px;
	margin: 0;                  /* was margin-bottom: 20px */
	object-fit: contain;
	display: block;             /* ensure it behaves like an image block */
}

.card h3 {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
	font-size: 2rem;
	color: #444e56;
	font-weight: 600;
	line-height: 1.2;
}

/* Content spans full width below header row */
.card > p,
.card .features-list {
	grid-column: 1 / -1;
}

/* Body copy */
.card p {
	margin-top: 6px;
	margin-bottom: 12px;
	font-size: 1rem;
	color: #000;
	line-height: 1.6;
}

/* Checklist inside cards */
.card .features-list {
	list-style: none;
	max-width: none;
	text-align: left;
	margin: 0;
	padding: 0;
}

.card .features-list li {
	display: flex;
	align-items: flex-start;
	font-size: 1.1rem;
	color: #222;
	margin-bottom: 16px;
	line-height: 1.6;
}

.card .features-list img {
	width: 22px;
	height: 22px;
	margin-right: 12px;
	flex-shrink: 0;
}

/* PRODIG blocks */
.servicios-simplificados {
	padding: 60px 30px;
	background-color: #fff7f2;
	font-family: 'Inter', sans-serif;
	color: #111;
	text-align: center;
}

.titulo-seccion { font-size: 2.8rem; margin-bottom: 30px; }

.beneficios-superiores {
	display: flex;
	justify-content: center;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 50px;
}

.beneficio { font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.beneficio img { width: 20px; height: 20px; }

.contenido-servi {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 40px;
}

.lista-servi {
	flex: 2 1 800px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 30px;
	width: 100%;
}

.ilustracion-servi { flex: 0 0 400px; max-width: 400px; margin-top: 100px; }
.ilustracion-servi img { width: 100%; height: auto; display: block; object-fit: contain; }

.servi h3 { margin-bottom: 8px; font-size: 1.6rem; text-align: left; }
.servi p { font-size: 1.1rem; color: #444; text-align: left; }

.membresia {
	background-color: #55c9cc;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	margin: 50px;
	border-radius: 10px;
}

.titulo-membresia { max-width: 50%; padding: 40px; }

.lista-membresia { list-style: none; min-width: 40%; line-height: 40px; text-align: left; padding: 40px; }

.titulo-membresia .etiqueta {
	font-size: 1.3rem; font-weight: 600; letter-spacing: 1px; color: #ffffff; margin-bottom: 20px; margin-left: 30px; text-transform: uppercase;
}

.titulo-membresia h3 { font-size: 3.8rem; font-weight: 400; color: #444e56; text-align: center; margin-bottom: 0; line-height: 5rem; }
.titulo-membresia h3 span { font-family: 'Playfair Display', serif; font-style: italic; color: #ffffff; font-weight: 400; font-size: 90px; display: inline-block; }
.titulo-membresia h4 { color: #444e56; font-size: 1.6rem; font-weight: 900; display: block; word-wrap: break-word; margin: 40px; }

.lista-membresia h5 { color: #444e56; text-decoration: none; font-size: 1.6rem; font-weight: 900; display: block; margin: 10px; }
.lista-membresia p { font-size: 1.2rem; color: #222; margin-bottom: 20px; line-height: 1.6; margin-top: 0; }
.lista-membresia li:hover { border-left: 3px solid #444e56; padding-left: 20px; }
.lista-membresia li { transition: border-left 0.3s ease; }

/* FEATURES / CHECKLIST */
.features-section { padding: 60px 20px; text-align: center; font-family: sans-serif; }
.features-section h2{ color: #ffa500; font-size: 2.5rem; margin-bottom: 40px; }
.features-columns { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; }
.features-list { list-style: none; padding: 0; max-width: 480px; text-align: left; }
.features-list li { display: flex; align-items: flex-start; font-size: 1.1rem; color: #222; margin-bottom: 20px; line-height: 1.6; }
.features-list li.blanca { color: white; font-size: 1.3rem; }
.features-list img { width: 24px; height: 24px; margin-right: 15px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 768px) {
	.servicios-simplificados { padding: 20px 15px 60px; }
	.lista-servi { grid-template-columns: 1fr; }
	.ilustracion-servi { margin-top: 0; max-width: 90%; }
	.beneficios-superiores { gap: 20px; }

	/* IMPROVED: Center the hero section completely on mobile */
	.titulopro {
		padding: 20px 0;
	}
	
	.titulopro-content {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 24px;
		padding: 0 20px;
		max-width: 100%;
	}
	
	.titulopro-text {
		min-width: auto;
		max-width: 100%;
		width: 100%;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	
	.titulopro-text .etiqueta { 
		padding-left: 0; 
		text-align: center;
		margin-bottom: 12px;
	}
	
	.titulopro-text h1 {
		text-align: center;
		margin: 0 auto 16px auto;
		max-width: 95%;
	}
	
	.titulopro-text p {
		text-align: center;
		margin: 0 auto;
		max-width: 90%;
	}
	
	.titulopro-image { 
		width: 100%;
		max-width: 90%;
		margin: 0 auto;
	}
	
	.titulopro-image img { 
		max-width: 100%; 
		width: 100%;
	}

	/* Smaller titles on mobile */
	.titulopro-text h1 {
		font-size: 2.2rem;
		line-height: 1.25;
	}
	.titulopro-text h1 span {
		font-size: 2.8rem;
		line-height: 1.2;
	}
	.desarrollo-top h2,
	.features-section h2,
	.titulo-seccion {
		font-size: 1.9rem;
		line-height: 1.25;
	}

	/* Cards: compact grid on mobile */
	.card {
		grid-template-columns: 44px 1fr;
		padding: 22px;
		border-radius: 16px;
		max-width: 90%;
	}
	.card ul { padding-left: 15px; }
	.card .icon { width: 44px; height: 44px; }
	.card h3 { font-size: 1.5rem; }

	.membresia { flex-direction: column; margin: 40px 20px; padding: 30px 20px; gap: 40px; }
	.titulo-membresia, .lista-membresia { max-width: 100%; min-width: 100%; width: 100%; padding: 0; }
	.titulo-membresia { text-align: center; }
	.titulo-membresia h3 { font-size: 2.8rem; line-height: 1.2; }
	.titulo-membresia h3 span { font-size: 3rem; }
	.lista-membresia li:hover { border-left: none; padding-left: 0; }

	.features-columns { flex-direction: column; align-items: center; }
	.features-list { max-width: 90%; }
}

/* Extra small phones */
@media (max-width: 380px) {
	.titulopro-content {
		padding: 0 16px;
		gap: 20px;
	}
	
	.titulopro-text h1 {
		font-size: 1.9rem;
	}
	
	.titulopro-text h1 span {
		font-size: 2.4rem;
	}
	
	.titulopro-text .etiqueta {
		font-size: 1.1rem;
	}
}